summaryrefslogtreecommitdiffstats
path: root/include/ide.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ide.h')
-rw-r--r--include/ide.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ide.h b/include/ide.h
index 222f4f84e4..ddb9579f8f 100644
--- a/include/ide.h
+++ b/include/ide.h
@@ -26,7 +26,7 @@
#define IDE_BUS(dev) (dev >> 1)
-#define ATA_CURR_BASE(dev) (CFG_ATA_BASE_ADDR+ide_bus_offset[IDE_BUS(dev)])
+#define ATA_CURR_BASE(dev) (CONFIG_SYS_ATA_BASE_ADDR+ide_bus_offset[IDE_BUS(dev)])
#ifdef CONFIG_IDE_LED
@@ -40,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;
OpenPOWER on IntegriCloud