mgcoge: add redundant environment sector
authorHeiko Schocher <hs@denx.de>
Fri, 17 Oct 2008 16:24:06 +0000 (18:24 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 17 Oct 2008 19:44:04 +0000 (21:44 +0200)
Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Wolfgang Denk <wd@denx.de>
include/configs/mgcoge.h

index 23af3ec4834ce924285d093b756ee53aacad7073..99bd1ce0372ffe4f212dda1d6ece17b79d85b082 100644 (file)
 #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