]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: zynq: Setup ENV_SIZE via Kconfig
authorMichal Simek <michal.simek@xilinx.com>
Wed, 18 Jul 2018 10:59:14 +0000 (12:59 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 19 Jul 2018 08:49:56 +0000 (10:49 +0200)
Simplify zynq_cse config by setting up ENV_SIZE via Kconfig.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
configs/zynq_cse_nand_defconfig
configs/zynq_cse_nor_defconfig
configs/zynq_cse_qspi_defconfig
include/configs/zynq_cse.h

index dcd4eda3ca3af71f644e9b69e114fc56299023ae..eb7e574040af25905cdcd4f01185b574517bd98a 100644 (file)
@@ -2,6 +2,7 @@ CONFIG_ARM=y
 CONFIG_SYS_CONFIG_NAME="zynq_cse"
 CONFIG_ARCH_ZYNQ=y
 CONFIG_SYS_TEXT_BASE=0x100000
+CONFIG_ENV_SIZE=0x190
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R_ADDR=0x200000
 CONFIG_DEFAULT_DEVICE_TREE="zynq-cse-nand"
index 9e2546b19785ee698ceffe24c054666d7bd628bd..95b31a0be66fc953d228cc97edebc17443ec683a 100644 (file)
@@ -2,6 +2,7 @@ CONFIG_ARM=y
 CONFIG_SYS_CONFIG_NAME="zynq_cse"
 CONFIG_ARCH_ZYNQ=y
 CONFIG_SYS_TEXT_BASE=0xFFFC0000
+CONFIG_ENV_SIZE=0x190
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R_ADDR=0x200000
 CONFIG_DEFAULT_DEVICE_TREE="zynq-cse-nor"
index df6ebdc03a2807b8c20ad1a83df8d3b885321581..c094a5e7de4803cc5c8b7ad3099be7d5e9e4b1ac 100644 (file)
@@ -2,6 +2,7 @@ CONFIG_ARM=y
 CONFIG_SYS_CONFIG_NAME="zynq_cse"
 CONFIG_ARCH_ZYNQ=y
 CONFIG_SYS_TEXT_BASE=0xFFFC0000
+CONFIG_ENV_SIZE=0x190
 CONFIG_SPL=y
 CONFIG_DEBUG_UART_BASE=0x0
 CONFIG_DEBUG_UART_CLOCK=0
index adc02f0a4a3b30c73021df106dc35f0529bc06ef..36fbe0eb5e2dfcc183c4819c2feadebaf69c509b 100644 (file)
@@ -18,7 +18,6 @@
 /* Undef unneeded configs */
 #undef CONFIG_EXTRA_ENV_SETTINGS
 #undef CONFIG_BOARD_LATE_INIT
-#undef CONFIG_ENV_SIZE
 #undef CONFIG_ZLIB
 #undef CONFIG_GZIP
 
@@ -28,7 +27,6 @@
 
 #define CONFIG_SYS_CBSIZE      1024
 
-#define CONFIG_ENV_SIZE                400
 #undef CONFIG_SYS_INIT_RAM_ADDR
 #undef CONFIG_SYS_INIT_RAM_SIZE
 #define CONFIG_SYS_INIT_RAM_ADDR       0xFFFDE000