From: Stefan Roese Date: Wed, 24 Apr 2013 14:19:46 +0200 Subject: [U-Boot] [PATCH 2/2] mpc5200: a3m071/a4m2k: Add redundant environment support In-Reply-To: <1366805986-30415-1-git-send-email-sr@denx.de> References: <1366805986-30415-1-git-send-email-sr@denx.de> Message-ID: <1366805986-30415-2-git-send-email-sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Also move the environment offset a bit to allow bigger u-boot images. Signed-off-by: Stefan Roese --- 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