From: Heiko Schocher Date: Fri, 17 Oct 2008 16:24:06 +0000 (+0200) Subject: mgcoge: add redundant environment sector X-Git-Tag: v2008.10~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f7a35a60cf45491871a5c28e9ad24db005487857;p=u-boot mgcoge: add redundant environment sector Signed-off-by: Heiko Schocher Signed-off-by: Wolfgang Denk --- diff --git a/include/configs/mgcoge.h b/include/configs/mgcoge.h index 23af3ec483..99bd1ce037 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