ARM: defconfig: Fix 32bit config for RPi4
authorMatthias Brugger <mbrugger@suse.com>
Thu, 5 Dec 2019 17:53:15 +0000 (18:53 +0100)
committerMatthias Brugger <mbrugger@suse.com>
Wed, 11 Dec 2019 09:14:13 +0000 (10:14 +0100)
The rpi_4_32b_defconfig states that only one DRAM bank is present. This
leads to a wrong configuration of the available DRAM. Fix this by
setting the DRAM bank config accordingly.

Fixes: 193279d784 ("RPI: Add defconfigs for rpi4 (32/64)")

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
configs/rpi_4_32b_defconfig

index e7d8f290605c88c70b31a10bf0ed28210bac2882..80cf930032598c5e7cbc357ef69f5bf9f7e3fb4a 100644 (file)
@@ -4,7 +4,7 @@ CONFIG_SYS_TEXT_BASE=0x00008000
 CONFIG_TARGET_RPI_4_32B=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_ENV_SIZE=0x4000
-CONFIG_NR_DRAM_BANKS=1
+CONFIG_NR_DRAM_BANKS=2
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_OF_BOARD_SETUP=y
 # CONFIG_ARCH_FIXUP_FDT_MEMORY is not set