From: Matthias Brugger Date: Fri, 29 May 2020 14:42:22 +0000 (+0200) Subject: configs: rpi: set NR_DRAM_BANKS to four X-Git-Tag: submit/tizen/20200707.104031^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b73eaeefa8dc2c26637107dec560869caaa03531;p=platform%2Fkernel%2Fu-boot.git configs: rpi: set NR_DRAM_BANKS to four With the new RPi4 which has 8 GB of RAM, we can have up to four DRAM banks. Bump up the configuration files to detect all the memory in U-Boot. Signed-off-by: Matthias Brugger [sw0312.kim: cherry-pick mainline commit a61cf765f7e3 to support rpi4 8GB dram] Signed-off-by: Seung-Woo Kim Change-Id: I7d47e4ae3b70166cde96bc0c86011a8ff4f54262 --- diff --git a/configs/rpi_4_32b_defconfig b/configs/rpi_4_32b_defconfig index 0fce184809..7127c0f59f 100644 --- a/configs/rpi_4_32b_defconfig +++ b/configs/rpi_4_32b_defconfig @@ -3,7 +3,7 @@ CONFIG_ARCH_BCM283X=y CONFIG_SYS_TEXT_BASE=0x00008000 CONFIG_TARGET_RPI_4_32B=y CONFIG_SYS_MALLOC_F_LEN=0x2000 -CONFIG_NR_DRAM_BANKS=2 +CONFIG_NR_DRAM_BANKS=4 CONFIG_DISTRO_DEFAULTS=y CONFIG_OF_BOARD_SETUP=y CONFIG_USE_PREBOOT=y diff --git a/configs/rpi_4_defconfig b/configs/rpi_4_defconfig index fefdf8d25f..163d661c7a 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=2 +CONFIG_NR_DRAM_BANKS=4 CONFIG_DISTRO_DEFAULTS=y CONFIG_OF_BOARD_SETUP=y CONFIG_USE_PREBOOT=y