From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Mon, 30 Mar 2009 17:33:37 -0500 Subject: [U-Boot] [PATCH 1/2] Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN In-Reply-To: References: <20090323212514.GA30976@ld0162-tx32.am.freescale.net> Message-ID: <49D148C1.4080500@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Signed-off-by: Gangheyamoorthy 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