From f3aaae44ca12e45457f9f238e1ea25b9af1e64e9 Mon Sep 17 00:00:00 2001 From: Matthias Brugger Date: Thu, 5 Dec 2019 18:53:15 +0100 Subject: [PATCH] ARM: defconfig: Fix 32bit config for RPi4 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)") Change-Id: I067ba66d80f636d6a56dfb7a14e3ee8da78829d4 Signed-off-by: Matthias Brugger --- configs/rpi_4_32b_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/rpi_4_32b_defconfig b/configs/rpi_4_32b_defconfig index 7ea159c5b4..8ff9f8b2a5 100644 --- a/configs/rpi_4_32b_defconfig +++ b/configs/rpi_4_32b_defconfig @@ -4,6 +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=2 CONFIG_DISTRO_DEFAULTS=y CONFIG_OF_BOARD_SETUP=y CONFIG_USE_PREBOOT=y -- 2.34.1