summaryrefslogtreecommitdiff
path: root/include/configs/apollon.h
diff options
context:
space:
mode:
authorAmul Kumar Saha <amul.saha@samsung.com>2009-11-04 10:38:46 +0530
committerScott Wood <scottwood@freescale.com>2009-11-13 16:56:18 -0600
commitc758e947aa7d39a2be607ecdedd818ad300807b2 (patch)
tree66f66f55dd0e62619db7d4adea1b0d1140fb98af /include/configs/apollon.h
parentcacbe919584193f64e74088e03f068e52775bb86 (diff)
ENV Variable support for Flex-OneNAND
Define and use CONFIG_ENV_ADDR_FLEX and CONFIG_ENV_SIZE_FLEX for storing environment variables. Signed-off-by: Rohit Hagargundgi <h.rohit@samsung.com> Signed-off-by: Amul Kumar Saha <amul.saha@samsung.com>
Diffstat (limited to 'include/configs/apollon.h')
-rw-r--r--include/configs/apollon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/apollon.h b/include/configs/apollon.h
index 575f60e166..ddac5fbab1 100644
--- a/include/configs/apollon.h
+++ b/include/configs/apollon.h
@@ -76,6 +76,7 @@
* Size of malloc() pool
*/
#define CONFIG_ENV_SIZE SZ_128K /* Total Size of Environment Sector */
+#define CONFIG_ENV_SIZE_FLEX SZ_256K
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + SZ_1M)
/* bytes reserved for initial data */
#define CONFIG_SYS_GBL_DATA_SIZE 128
@@ -255,6 +256,7 @@
#define CONFIG_SYS_MONITOR_LEN SZ_256K /* U-Boot image size */
#define CONFIG_ENV_IS_IN_ONENAND 1
#define CONFIG_ENV_ADDR 0x00020000
+#define CONFIG_ENV_ADDR_FLEX 0x00040000
#define CONFIG_SYS_64BIT_VSPRINTF /* needed for nand_util.c */