From: Rohit Hagargundgi Date: Mon, 9 Mar 2009 14:15:46 +0000 (+0530) Subject: Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN X-Git-Tag: v2009.06-rc2~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=12a6753155716e5c3c181a8f40e8b2d3d669aefd;p=u-boot Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN Add CONFIG_SYS_MONITOR_LEN macro to apollon board config. CONFIG_SYS_MONITOR_LEN defines the U-Boot image size. and is used by OneNAND ipl when reading U-Boot image. Signed-off-by: Rohit Hagargundgi Acked-by: Kyungmin Park --- diff --git a/include/configs/apollon.h b/include/configs/apollon.h index c14f871357..925079d0c4 100644 --- a/include/configs/apollon.h +++ b/include/configs/apollon.h @@ -251,6 +251,7 @@ /* OneNAND boot, OneNAND has CS0, NOR boot ONeNAND has CS2 */ #define CONFIG_SYS_ONENAND_BASE 0x00000000 +#define CONFIG_SYS_MONITOR_LEN SZ_256K /* U-Boot image size */ #define CONFIG_ENV_IS_IN_ONENAND 1 #define CONFIG_ENV_ADDR 0x00020000