diff mbox

[U-Boot,2/2] mpc5200: a3m071/a4m2k: Add redundant environment support

Message ID 1366805986-30415-2-git-send-email-sr@denx.de
State Superseded
Delegated to: Wolfgang Denk
Headers show

Commit Message

Stefan Roese April 24, 2013, 12:19 p.m. UTC
Also move the environment offset a bit to allow bigger u-boot
images.

Signed-off-by: Stefan Roese <sr@denx.de>
---
 include/configs/a3m071.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox

Patch

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