summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2008-10-17 18:24:06 +0200
committerWolfgang Denk <wd@denx.de>2008-10-18 21:54:08 +0200
commit360fe71e82b83e264c964c9447c537e9a1f643c8 (patch)
tree14d2038ae8f1e13c3a8c1b6c4e9bd5d7f26e095a /include
parent53ebf0c470c87d5f9fa76462e5f4064d26a9b16a (diff)
downloadu-boot-imx-360fe71e82b83e264c964c9447c537e9a1f643c8.zip
u-boot-imx-360fe71e82b83e264c964c9447c537e9a1f643c8.tar.gz
u-boot-imx-360fe71e82b83e264c964c9447c537e9a1f643c8.tar.bz2
mgcoge: add redundant environment sector
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include')
-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 02c2e01..dc9b311 100644
--- a/include/configs/mgcoge.h
+++ b/include/configs/mgcoge.h
@@ -180,6 +180,11 @@
#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 */