X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=onenand_ipl%2Fonenand_boot.c;h=22baebb314c71a9a53d976b57c1580e5e97984a9;hb=780f13a9e1a21098c6255aaa1c46ed80aa7a436c;hp=86428cc0525cadb5107717c164df2f086608f4ee;hpb=196c74311f394c6eb08bd9ab07a35671299b9851;p=u-boot diff --git a/onenand_ipl/onenand_boot.c b/onenand_ipl/onenand_boot.c index 86428cc052..22baebb314 100644 --- a/onenand_ipl/onenand_boot.c +++ b/onenand_ipl/onenand_boot.c @@ -24,7 +24,6 @@ */ #include -#include #include "onenand_ipl.h" @@ -36,7 +35,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)();