summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRohit Hagargundgi <h.rohit@samsung.com>2009-03-09 19:45:46 +0530
committerWolfgang Denk <wd@denx.de>2009-05-15 21:43:05 +0200
commit12a6753155716e5c3c181a8f40e8b2d3d669aefd (patch)
tree1678b0875ae0339abc3a604c918fa63dcdd33766
parentc404cc5884b0c82fd82d751dbd8e8b3f8919a23a (diff)
downloadu-boot-imx-12a6753155716e5c3c181a8f40e8b2d3d669aefd.zip
u-boot-imx-12a6753155716e5c3c181a8f40e8b2d3d669aefd.tar.gz
u-boot-imx-12a6753155716e5c3c181a8f40e8b2d3d669aefd.tar.bz2
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 <h.rohit at samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
-rw-r--r--include/configs/apollon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/apollon.h b/include/configs/apollon.h
index c14f871..925079d 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