]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - onenand_ipl/onenand_boot.c
Merge git://www.denx.de/git/u-boot into uboot
[people/ms/u-boot.git] / onenand_ipl / onenand_boot.c
index f30deaeca7d3cd5f3e3fef067e994f57a5208f57..35668ac84f765f50f165849eb1abd5e8a5511f36 100644 (file)
@@ -60,7 +60,7 @@ void start_oneboot(void)
 
        buf = (uchar *) CFG_LOAD_ADDR;
 
-       if (!onenand_read_block(buf, ONENAND_START_BLOCK))
+       if (!onenand_read_block0(buf))
                buf += ONENAND_BLOCK_SIZE;
 
        if (buf == (uchar *)CFG_LOAD_ADDR)