summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2008-10-17 18:24:06 +0200
committerWolfgang Denk <wd@denx.de>2008-10-17 21:44:04 +0200
commitf7a35a60cf45491871a5c28e9ad24db005487857 (patch)
treefefb69b491634d68ab4bc7f00d9dfb78fc5ffa3c
parentc2537ee85954af9d036b18b644f3e18d837bf4a5 (diff)
mgcoge: add redundant environment sector
Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Wolfgang Denk <wd@denx.de>
-rw-r--r--include/configs/mgcoge.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/mgcoge.h b/include/configs/mgcoge.h
index 23af3ec4834..99bd1ce0372 100644
--- a/include/configs/mgcoge.h
+++ b/include/configs/mgcoge.h
@@ -174,6 +174,11 @@
#ifdef CONFIG_ENV_IS_IN_FLASH
#define CONFIG_ENV_SECT_SIZE 0x20000
#define CONFIG_ENV_ADDR (CFG_MONITOR_BASE + CFG_MONITOR_LEN)
+#define CONFIG_ENV_OFFSET CFG_MONITOR_LEN
+
+/* Address and size of Redundant Environment Sector */
+#define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_ENV_SECT_SIZE)
+#define CONFIG_ENV_SIZE_REDUND (CONFIG_ENV_SIZE)
#endif /* CONFIG_ENV_IS_IN_FLASH */
#define CFG_IMMR 0xF0000000