diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-04-10 09:37:21 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-04-24 10:51:32 -0400 |
commit | a555557ddc289af2f3d75e45fb808bcb2066162d (patch) | |
tree | f2cb61c38e94bbe2abb5456f066b71014dd28c3d | |
parent | ec8eef5e71e4d876324aa81b3c394822d8ef1eb6 (diff) | |
download | u-boot-a555557ddc289af2f3d75e45fb808bcb2066162d.zip u-boot-a555557ddc289af2f3d75e45fb808bcb2066162d.tar.gz u-boot-a555557ddc289af2f3d75e45fb808bcb2066162d.tar.bz2 |
qemu: don't allow to select 32- and 64-bit
TARGET_QEMU_ARM_64BIT and TARGET_QEMU_ARM_32BIT should be mutually
exclusive.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
-rw-r--r-- | arch/arm/mach-qemu/Kconfig | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/arch/arm/mach-qemu/Kconfig b/arch/arm/mach-qemu/Kconfig index a2e4b98..588d2d3 100644 --- a/arch/arm/mach-qemu/Kconfig +++ b/arch/arm/mach-qemu/Kconfig @@ -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 |