]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - onenand_ipl/onenand_boot.c
at91rm9200ek: add configure target for RAM boot
[karo-tx-uboot.git] / onenand_ipl / onenand_boot.c
index 86428cc0525cadb5107717c164df2f086608f4ee..22baebb314c71a9a53d976b57c1580e5e97984a9 100644 (file)
@@ -24,7 +24,6 @@
  */
 
 #include <common.h>
-#include <version.h>
 
 #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)();