From f7a35a60cf45491871a5c28e9ad24db005487857 Mon Sep 17 00:00:00 2001 From: Heiko Schocher Date: Fri, 17 Oct 2008 18:24:06 +0200 Subject: mgcoge: add redundant environment sector Signed-off-by: Heiko Schocher Signed-off-by: Wolfgang Denk --- include/configs/mgcoge.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/configs/mgcoge.h b/include/configs/mgcoge.h index 23af3ec..99bd1ce 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 -- cgit v1.1