diff options
Diffstat (limited to 'onenand_ipl/onenand_boot.c')
| -rw-r--r-- | onenand_ipl/onenand_boot.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/onenand_ipl/onenand_boot.c b/onenand_ipl/onenand_boot.c index f30deaeca..35668ac84 100644 --- a/onenand_ipl/onenand_boot.c +++ b/onenand_ipl/onenand_boot.c @@ -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) |