From: Heinrich Schuchardt Date: Thu, 3 Apr 2025 14:47:53 +0000 (+0200) Subject: configs: qemu-arm raise CONFIG_NR_DRAM_BANKS X-Git-Tag: v2025.07-rc1~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba13350d49370373bda42f9823d923adbee0e764;p=pandora-u-boot.git configs: qemu-arm raise CONFIG_NR_DRAM_BANKS The number of memory banks in QEMU is not bounded by 1. In this example we have two banks: qemu-system-aarch64 \ -machine virt \ -nographic \ -cpu cortex-a72 \ -m 8G \ -smp 8,sockets=2,cores=4,threads=1 \ -object memory-backend-ram,id=mem0,size=4G \ -numa node,cpus=0-3,memdev=mem0 \ -object memory-backend-ram,id=mem1,size=4G \ -numa node,cpus=4-7,memdev=mem1 \ -bios u-boot.bin Use the default value defined in /Kconfig as 4. Suggested-by: Ilias Apalodimas Signed-off-by: Heinrich Schuchardt Suggested-by: Sughosh Ganu Reviewed-by: Ilias Apalodimas --- diff --git a/configs/qemu_arm64_defconfig b/configs/qemu_arm64_defconfig index 03028c76acc..6c9d2505a69 100644 --- a/configs/qemu_arm64_defconfig +++ b/configs/qemu_arm64_defconfig @@ -3,7 +3,6 @@ CONFIG_POSITION_INDEPENDENT=y CONFIG_ARCH_QEMU=y CONFIG_SYS_MALLOC_LEN=0x1000000 CONFIG_BLOBLIST_SIZE_RELOC=0x2000 -CONFIG_NR_DRAM_BANKS=1 CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x40200000 CONFIG_ENV_SIZE=0x40000 CONFIG_ENV_SECT_SIZE=0x40000 diff --git a/configs/qemu_arm_defconfig b/configs/qemu_arm_defconfig index e09f54e0685..2d642f86ba6 100644 --- a/configs/qemu_arm_defconfig +++ b/configs/qemu_arm_defconfig @@ -3,7 +3,6 @@ CONFIG_ARM_SMCCC=y CONFIG_ARCH_QEMU=y CONFIG_SYS_MALLOC_LEN=0x1000000 CONFIG_BLOBLIST_SIZE_RELOC=0x2000 -CONFIG_NR_DRAM_BANKS=1 CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x40200000 CONFIG_ENV_SIZE=0x40000 CONFIG_ENV_SECT_SIZE=0x40000