Commit f7a35a60cf45491871a5c28e9ad24db005487857
Committed by
Wolfgang Denk
1 parent
c2537ee859
Exists in
master
and in
54 other branches
mgcoge: add redundant environment sector
Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Wolfgang Denk <wd@denx.de>
Showing 1 changed file with 5 additions and 0 deletions Side-by-side Diff
include/configs/mgcoge.h
... | ... | @@ -174,6 +174,11 @@ |
174 | 174 | #ifdef CONFIG_ENV_IS_IN_FLASH |
175 | 175 | #define CONFIG_ENV_SECT_SIZE 0x20000 |
176 | 176 | #define CONFIG_ENV_ADDR (CFG_MONITOR_BASE + CFG_MONITOR_LEN) |
177 | +#define CONFIG_ENV_OFFSET CFG_MONITOR_LEN | |
178 | + | |
179 | +/* Address and size of Redundant Environment Sector */ | |
180 | +#define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_ENV_SECT_SIZE) | |
181 | +#define CONFIG_ENV_SIZE_REDUND (CONFIG_ENV_SIZE) | |
177 | 182 | #endif /* CONFIG_ENV_IS_IN_FLASH */ |
178 | 183 | |
179 | 184 | #define CFG_IMMR 0xF0000000 |