configs: qemu-arm raise CONFIG_NR_DRAM_BANKS
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 3 Apr 2025 14:47:53 +0000 (16:47 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 11 Apr 2025 18:16:14 +0000 (12:16 -0600)
commitba13350d49370373bda42f9823d923adbee0e764
tree61004c3f91067fe3ae5857794c2980dd955a6677
parent6d4d4ee519f4dfc799c1851f13e8be0634ec7911
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 <ilias.apalodimas@linaro.org>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Suggested-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
configs/qemu_arm64_defconfig
configs/qemu_arm_defconfig