Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN
authorapgmoorthy <moorthy.apg@samsung.com>
Fri, 27 Mar 2009 09:15:23 +0000 (14:45 +0530)
committerScott Wood <scottwood@freescale.com>
Fri, 3 Apr 2009 20:27:25 +0000 (15:27 -0500)
commit69bcabb51686fdd133cb1848c0d3b0a4fc6ca5cf
tree591f2844b846b1b39aed91b0cc44b58d9df37fde
parentdfc91c33957c95da34e3888dc87912d5c15a7603
Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN

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@samsung.com>
Signed-off-by: Gangheyamoorthy <moorthy.apg@samsung.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
onenand_ipl/onenand_boot.c
onenand_ipl/onenand_ipl.h
onenand_ipl/onenand_read.c