]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
zynq: Increased environment sector size by 64KiB
authorJagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com>
Tue, 4 Dec 2012 12:56:39 +0000 (18:26 +0530)
committerMichal Simek <monstr@monstr.eu>
Wed, 5 Dec 2012 09:03:56 +0000 (10:03 +0100)
Increase the ENV_SIZE with extra 64KiB to support all flash environments.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
include/configs/zynq_common.h

index 361c919fd170a0cf6f896a9bb97442e0544f344d..5fe05b7ebaf6a837776cd3c09730b57ef6817272 100644 (file)
@@ -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 }
                                        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