From d7e87ded4a4587f82af07f5cc28eea5839c7ebc6 Mon Sep 17 00:00:00 2001 From: Jagannadha Sutradharudu Teki Date: Tue, 4 Dec 2012 18:26:39 +0530 Subject: [PATCH] zynq: Increased environment sector size by 64KiB Increase the ENV_SIZE with extra 64KiB to support all flash environments. Signed-off-by: Jagannadha Sutradharudu Teki Acked-by: Michal Simek --- include/configs/zynq_common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/configs/zynq_common.h b/include/configs/zynq_common.h index 361c919fd17..5fe05b7ebaf 100644 --- a/include/configs/zynq_common.h +++ b/include/configs/zynq_common.h @@ -30,6 +30,9 @@ #define CONFIG_SYS_SDRAM_BASE 0 #define CONFIG_SYS_SDRAM_SIZE PHYS_SDRAM_1_SIZE +/* Total Size of Environment Sector */ +#define CONFIG_ENV_SIZE (128 << 10) + /* Serial drivers */ #define CONFIG_BAUDRATE 115200 #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 38400, 115200 } @@ -243,7 +246,6 @@ CONFIG_SYS_INIT_RAM_SIZE - \ GENERATED_GBL_DATA_SIZE) -#define CONFIG_ENV_SIZE 0x10000 #define CONFIG_SYS_MALLOC_LEN 0x400000 #define CONFIG_SYS_MAXARGS 16 #define CONFIG_SYS_CBSIZE 2048 -- 2.47.3