]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: qemu-arm: select CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 5 Nov 2024 19:31:29 +0000 (20:31 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 13 Nov 2024 14:18:20 +0000 (08:18 -0600)
qemu_arm64_defconfig with CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=n leads to a
build error:

    arch/arm/lib/crt0_64.S:85:
    Error: constant expression expected at operand 2 --
    `ldr x0,=((CFG_SYS_INIT_RAM_ADDR+CFG_SYS_INIT_RAM_SIZE-480))'

We do not define CFG_SYS_INIT_RAM_ADDR and CFG_SYS_INIT_RAM_SIZE for QEMU.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
board/emulation/qemu-arm/Kconfig

index e21c135e86facd0fe91e9ab150d2fdcfab638eba..80ab9d8e1c3fcb1a4b947b1545a3b4c0b7fa4ac3 100644 (file)
@@ -5,6 +5,7 @@ config TEXT_BASE
 
 config BOARD_SPECIFIC_OPTIONS # dummy
        def_bool y
+       select HAS_CUSTOM_SYS_INIT_SP_ADDR
        select QFW if ACPI
        select QFW_MMIO if CMD_QFW
        imply VIRTIO_MMIO