[U-Boot] [PATCH 1/2] Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN

Scott Wood scottwood at freescale.com
Tue Mar 31 00:33:37 CEST 2009


apgmoorthy wrote:
> Currently OneNAND initial program loader (ipl) reads only block 0 ie 128KB.
> However, u-boot image for apollon board is 195KB making the board
> unbootable with OneNAND.
> 
> Fix ipl to read CONFIG_SYS_MONITOR_LEN.
> CONFIG_SYS_MONITOR_LEN macro holds the U-Boot image size.
> 
>  Signed-off-by: Rohit Hagargundgi <h.rohit at samsung.com>
>  Signed-off-by: Gangheyamoorthy   <moorthy.apg at samsung.com>

Applied to u-boot-nand-flash, with the below whitespace errors fixed:

Applying RE: [U-Boot] [PATCH 1/2] Fix OneNAND ipl to read 
CONFIG_SYS_MONITOR_LEN
.dotest/patch:128: trailing whitespace.
                                 /* This block is bad. Skip it
.dotest/patch:130: space before tab in indent.
                                 offset -= page * pagesize;
warning: 2 lines add whitespace errors.

Note that there are a couple of board files (apollon and nmdk8815) that 
use the OneNAND loader that do not define CONFIG_SYS_MONITOR_LEN.  I've 
added the maintainers to the Cc: list.

-Scott


More information about the U-Boot mailing list