Skip to content
Snippets Groups Projects
Commit 4ac8f8e0 authored by Tom Rini's avatar Tom Rini
Browse files

ide.h: Make ide_(read|write) match block_dev_desc_t block_(read|write)


block_dev_desc_t says that block_(read|write) take lbaint_t for blkcnt
not ulong

Signed-off-by: default avatarTom Rini <trini@ti.com>
parent 0e7d856e
No related branches found
No related tags found
No related merge requests found
...@@ -51,8 +51,8 @@ typedef ulong lbaint_t; ...@@ -51,8 +51,8 @@ typedef ulong lbaint_t;
*/ */
void ide_init(void); void ide_init(void);
ulong ide_read(int device, lbaint_t blknr, ulong blkcnt, void *buffer); ulong ide_read(int device, ulong blknr, lbaint_t blkcnt, void *buffer);
ulong ide_write(int device, lbaint_t blknr, ulong blkcnt, const void *buffer); ulong ide_write(int device, ulong blknr, lbaint_t blkcnt, const void *buffer);
#if defined(CONFIG_OF_IDE_FIXUP) #if defined(CONFIG_OF_IDE_FIXUP)
int ide_device_present(int dev); int ide_device_present(int dev);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment