]> git.sur5r.net Git - u-boot/blobdiff - include/ide.h
Add support for CATcenter board (based on PPChameleon ME module)
[u-boot] / include / ide.h
index 08b86aa2c0cbd14d702013db7ad2c22a5e8ca39d..dfef32f267d1316fcd8a811e90013249f5fc72cb 100644 (file)
 
 #endif /* CONFIG_IDE_LED */
 
+#ifdef CFG_64BIT_LBA
+typedef uint64_t lbaint_t;
+#else
+typedef ulong lbaint_t;
+#endif
+
 /*
  * Function Prototypes
  */
 
 void  ide_init  (void);
-ulong ide_read  (int device, ulong blknr, ulong blkcnt, ulong *buffer);
-ulong ide_write (int device, ulong blknr, ulong blkcnt, ulong *buffer);
+ulong ide_read (int device, lbaint_t blknr, ulong blkcnt, ulong *buffer);
+ulong ide_write (int device, lbaint_t blknr, ulong blkcnt, ulong *buffer);
 
 #endif /* _IDE_H */