X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=onenand_ipl%2Fonenand_boot.c;h=22baebb314c71a9a53d976b57c1580e5e97984a9;hb=b4feeb4e8a1d9124bae39985a97b99d08e06186d;hp=86428cc0525cadb5107717c164df2f086608f4ee;hpb=2c5bd16af132bb6e9158c43fc6206fa0f1f501c1;p=oweals%2Fu-boot.git 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)();