]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
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>
Sat, 18 Oct 2008 19:54:08 +0000 (21:54 +0200)
Signed-off-by: Heiko Schocher <hs@denx.de>
include/configs/mgcoge.h

index 02c2e0168a69958de8b50fe5798a319df97165f0..dc9b311d43c235d0f9d753ab5ae7ba70e6c8c1e6 100644 (file)
 #ifdef CONFIG_ENV_IS_IN_FLASH
 #define CONFIG_ENV_SECT_SIZE   0x20000
 #define CONFIG_ENV_ADDR                (CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN)
+#define CONFIG_ENV_OFFSET      CONFIG_SYS_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 */
 
 /* enable I2C and select the hardware/software driver */