summaryrefslogtreecommitdiff
path: root/configs/rpi_4_defconfig
diff options
context:
space:
mode:
authorMatthias Brugger <mbrugger@suse.com>2019-09-09 18:31:56 +0200
committerMatthias Brugger <mbrugger@suse.com>2019-10-01 11:14:47 +0200
commit9de5b89e4c898ec770878eb4848588c635a37bac (patch)
treea8e271b96345f36548925b5bda057b0393e897ae /configs/rpi_4_defconfig
parent023ff4b88dcec5faa3f9b841bae4d3d232b58ce2 (diff)
rpi4: enable dram bank initialization
When booting through the efi stub, the memory map get's created by reading the dram bank information. Depending on the version of the RPi4 this information changes. Read the device tree to initialize the dram bank data structure. This way the kernel is able to access the whole range of available memory. Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Diffstat (limited to 'configs/rpi_4_defconfig')
-rw-r--r--configs/rpi_4_defconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/rpi_4_defconfig b/configs/rpi_4_defconfig
index 2d63197d75..2954e17ac3 100644
--- a/configs/rpi_4_defconfig
+++ b/configs/rpi_4_defconfig
@@ -3,7 +3,7 @@ CONFIG_ARCH_BCM283X=y
CONFIG_SYS_TEXT_BASE=0x00080000
CONFIG_TARGET_RPI_4=y
CONFIG_SYS_MALLOC_F_LEN=0x2000
-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