]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: zynqmp: Move NR_DRAM_BANKS for mini confiration
authorMichal Simek <michal.simek@xilinx.com>
Fri, 20 Jul 2018 09:31:31 +0000 (11:31 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 6 Aug 2018 06:44:35 +0000 (08:44 +0200)
There is no reason to have the same setting in subsequent config if we
can have it only once in shared.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/xilinx_zynqmp_mini.h
include/configs/xilinx_zynqmp_mini_emmc.h
include/configs/xilinx_zynqmp_mini_nand.h
include/configs/xilinx_zynqmp_mini_qspi.h

index e58e9cecab225ef5fa02cf4dd4cadc46a5dc1c28..becb125f0a54fc76b165ce9c35fd028d97a31e57 100644 (file)
@@ -31,5 +31,6 @@
 #undef CONFIG_BOOTP_MAY_FAIL
 
 #undef CONFIG_NR_DRAM_BANKS
+#define CONFIG_NR_DRAM_BANKS   1
 
 #endif /* __CONFIG_ZYNQMP_MINI_H */
index 6531599c79d96046b4dd6d3c6fc54e1d49ae5f48..8fdff505283fe0e1d21776eef56a9fee4b537afc 100644 (file)
@@ -13,7 +13,6 @@
 #include <configs/xilinx_zynqmp_mini.h>
 
 #define CONFIG_SYS_ICACHE_OFF
-#define CONFIG_NR_DRAM_BANKS   1
 #define CONFIG_SYS_INIT_SP_ADDR        CONFIG_SYS_TEXT_BASE
 #define CONFIG_SYS_MALLOC_LEN  0x800000
 
index 00db44964847a992c536d850e482292ae92e9d48..aaa9eee009607f32ef8cc0905566d8b3136eea48 100644 (file)
@@ -13,7 +13,6 @@
 #include <configs/xilinx_zynqmp_mini.h>
 
 #define CONFIG_SYS_ICACHE_OFF
-#define CONFIG_NR_DRAM_BANKS   1
 #define CONFIG_SYS_SDRAM_SIZE  0x1000000
 #define CONFIG_SYS_SDRAM_BASE  0x0
 #define CONFIG_SYS_INIT_SP_ADDR        (CONFIG_SYS_SDRAM_BASE + 0x40000)
index 229132675ee33addcb02032a2f3abcfa7fff4e45..679ad0be3e00cda717c7f57673b34dc32fc5be25 100644 (file)
@@ -13,7 +13,6 @@
 #include <configs/xilinx_zynqmp_mini.h>
 
 #define CONFIG_SYS_ICACHE_OFF
-#define CONFIG_NR_DRAM_BANKS   1
 #define CONFIG_SYS_INIT_SP_ADDR        (CONFIG_SYS_TEXT_BASE + 0x20000)
 #define CONFIG_SYS_MALLOC_LEN  0x2000