From: Rohit Hagargundgi <h.rohit@samsung.com>
Date: Mon, 9 Mar 2009 14:15:46 +0000 (+0530)
Subject: Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN
X-Git-Tag: v2025.01-rc5-pxa1908~21206
X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=12a6753155716e5c3c181a8f40e8b2d3d669aefd;p=u-boot.git

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>
---

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