[U-Boot] [PATCH 2/2] mpc5200: a3m071/a4m2k: Add redundant environment support
Stefan Roese
sr at denx.de
Wed Apr 24 14:19:46 CEST 2013
Also move the environment offset a bit to allow bigger u-boot
images.
Signed-off-by: Stefan Roese <sr at denx.de>
---
include/configs/a3m071.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/configs/a3m071.h b/include/configs/a3m071.h
index b0264c2..b2d3642 100644
--- a/include/configs/a3m071.h
+++ b/include/configs/a3m071.h
@@ -88,7 +88,10 @@
*/
#define CONFIG_SYS_FLASH_BASE 0xfc000000
#define CONFIG_SYS_FLASH_SIZE 0x02000000
-#define CONFIG_ENV_ADDR (CONFIG_SYS_FLASH_BASE + 0x40000)
+#define CONFIG_ENV_ADDR (CONFIG_SYS_FLASH_BASE + 0x80000)
+/* Address and size of Redundant Environment Sector */
+#define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR + CONFIG_ENV_SECT_SIZE)
+#define CONFIG_ENV_SIZE_REDUND (CONFIG_ENV_SIZE)
#define CONFIG_SYS_MAX_FLASH_BANKS 1
#define CONFIG_SYS_MAX_FLASH_SECT 256
--
1.8.2.1
More information about the U-Boot
mailing list