From: Jagannadha Sutradharudu Teki Date: Tue, 4 Dec 2012 12:56:39 +0000 (+0530) Subject: zynq: Increased environment sector size by 64KiB X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d7e87ded4a4587f82af07f5cc28eea5839c7ebc6;p=thirdparty%2Fu-boot.git 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 --- 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