aboutsummaryrefslogtreecommitdiff
path: root/onenand_ipl/onenand_boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'onenand_ipl/onenand_boot.c')
-rw-r--r--onenand_ipl/onenand_boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/onenand_ipl/onenand_boot.c b/onenand_ipl/onenand_boot.c
index 86428cc05..63995ce50 100644
--- a/onenand_ipl/onenand_boot.c
+++ b/onenand_ipl/onenand_boot.c
@@ -36,7 +36,7 @@ void start_oneboot(void)
buf = (uchar *) CONFIG_SYS_LOAD_ADDR;
- onenand_read_block0(buf);
+ onenand_read_block(buf);
((init_fnc_t *)CONFIG_SYS_LOAD_ADDR)();