]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/ide.h
rename CFG_ macros to CONFIG_SYS
[karo-tx-uboot.git] / include / ide.h
index 6976a6c319c3736b4a0c33ab89e57739cb9299c4..ddb9579f8fa07307b807ee1118dea11cf242b7ff 100644 (file)
@@ -26,6 +26,8 @@
 
 #define        IDE_BUS(dev)    (dev >> 1)
 
+#define        ATA_CURR_BASE(dev)      (CONFIG_SYS_ATA_BASE_ADDR+ide_bus_offset[IDE_BUS(dev)])
+
 #ifdef CONFIG_IDE_LED
 
 /*
@@ -38,7 +40,7 @@
 
 #endif /* CONFIG_IDE_LED */
 
-#ifdef CFG_64BIT_LBA
+#ifdef CONFIG_SYS_64BIT_LBA
 typedef uint64_t lbaint_t;
 #else
 typedef ulong lbaint_t;