diff options
author | Michal Simek <michal.simek@xilinx.com> | 2016-04-01 15:56:33 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2016-04-13 18:29:02 +0200 |
commit | 758f29d0f805ccd6ca1354a9562dab3bacf52310 (patch) | |
tree | e8ec5cc6e4f756a8627cd3ce485eca3dd8a54921 /include/configs | |
parent | c1584e2a2190756d73d1f96e0e431da30870d208 (diff) | |
download | u-boot-imx-758f29d0f805ccd6ca1354a9562dab3bacf52310.zip u-boot-imx-758f29d0f805ccd6ca1354a9562dab3bacf52310.tar.gz u-boot-imx-758f29d0f805ccd6ca1354a9562dab3bacf52310.tar.bz2 |
ARM: zynq: Support systems with more memory banks
This is example how to change u-boot to support more memory banks read
from DT.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/zynq-common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index aac1e2b..2d941a7 100644 --- a/include/configs/zynq-common.h +++ b/include/configs/zynq-common.h @@ -277,7 +277,9 @@ /* Physical Memory map */ #define CONFIG_SYS_TEXT_BASE 0x4000000 -#define CONFIG_NR_DRAM_BANKS 1 +#ifndef CONFIG_NR_DRAM_BANKS +# define CONFIG_NR_DRAM_BANKS 1 +#endif #define CONFIG_SYS_MEMTEST_START 0 #define CONFIG_SYS_MEMTEST_END 0x1000 |