]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
qemu: don't allow to select 32- and 64-bit
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 10 Apr 2020 07:37:21 +0000 (09:37 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 24 Apr 2020 14:51:32 +0000 (10:51 -0400)
TARGET_QEMU_ARM_64BIT and TARGET_QEMU_ARM_32BIT should be mutually
exclusive.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
arch/arm/mach-qemu/Kconfig

index a2e4b98b8887a9b38ddc44a1c623958b1d3437c0..588d2d3102ae4030770b2dec67e706351c1bbfa3 100644 (file)
@@ -9,16 +9,20 @@ config SYS_BOARD
 config SYS_CONFIG_NAME
        default "qemu-arm"
 
-endif
+choice
+       prompt "QEMU ARM architecture"
+       default TARGET_QEMU_ARM_64BIT
 
 config TARGET_QEMU_ARM_32BIT
-       bool "Support qemu_arm"
-       depends on ARCH_QEMU
+       bool "ARMv7-A, 32bit"
        select ARCH_SUPPORT_PSCI
        select CPU_V7A
        select SYS_ARCH_TIMER
 
 config TARGET_QEMU_ARM_64BIT
-       bool "Support qemu_arm64"
-       depends on ARCH_QEMU
+       bool "ARMv8, 64bit"
        select ARM64
+
+endchoice
+
+endif