summaryrefslogtreecommitdiff
path: root/onenand_ipl/onenand_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'onenand_ipl/onenand_read.c')
-rw-r--r--onenand_ipl/onenand_read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/onenand_ipl/onenand_read.c b/onenand_ipl/onenand_read.c
index 669b1ef5fa6..6d04943ba1b 100644
--- a/onenand_ipl/onenand_read.c
+++ b/onenand_ipl/onenand_read.c
@@ -67,7 +67,7 @@ static inline int onenand_read_page(ulong block, ulong page,
#ifndef __HAVE_ARCH_MEMCPY32
p = (unsigned long *) buf;
#endif
- base = (unsigned long *) (CFG_ONENAND_BASE + ONENAND_DATARAM);
+ base = (unsigned long *) (CONFIG_SYS_ONENAND_BASE + ONENAND_DATARAM);
while (!(READ_INTERRUPT() & ONENAND_INT_READ))
continue;