From: Heiko Schocher Date: Fri, 17 Oct 2008 16:24:06 +0000 (+0200) Subject: mgcoge: add redundant environment sector X-Git-Tag: v2009.01-rc1~157^2^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=360fe71e82b83e264c964c9447c537e9a1f643c8;p=oweals%2Fu-boot.git mgcoge: add redundant environment sector Signed-off-by: Heiko Schocher --- diff --git a/include/configs/mgcoge.h b/include/configs/mgcoge.h index 02c2e0168a..dc9b311d43 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 */