aboutsummaryrefslogtreecommitdiff
path: root/target/arm/Kconfig
diff options
context:
space:
mode:
authorFabiano Rosas <farosas@suse.de>2023-05-08 15:16:10 -0300
committerPeter Maydell <peter.maydell@linaro.org>2023-05-12 15:49:20 +0100
commita117e87212ca1da8221e4ccbdeed3bedba5dc8f3 (patch)
tree604642d6aafbb1f503012d8ee9dd07357c4b3878 /target/arm/Kconfig
parentf773a31ece66744705eda794752767df29f8c8d8 (diff)
downloadqemu-a117e87212ca1da8221e4ccbdeed3bedba5dc8f3.zip
qemu-a117e87212ca1da8221e4ccbdeed3bedba5dc8f3.tar.gz
qemu-a117e87212ca1da8221e4ccbdeed3bedba5dc8f3.tar.bz2
target/arm: Select CONFIG_ARM_V7M when TCG is enabled
We cannot allow this config to be disabled at the moment as not all of the relevant code is protected by it. Commit 29d9efca16 ("arm/Kconfig: Do not build TCG-only boards on a KVM-only build") moved the CONFIGs of several boards to Kconfig, so it is now possible that nothing selects ARM_V7M (e.g. when doing a --without-default-devices build). Return the CONFIG_ARM_V7M entry to a state where it is always selected whenever TCG is available. Fixes: 29d9efca16 ("arm/Kconfig: Do not build TCG-only boards on a KVM-only build") Signed-off-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20230508181611.2621-3-farosas@suse.de Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/Kconfig')
-rw-r--r--target/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/arm/Kconfig b/target/arm/Kconfig
index 3fffdcb..5947366 100644
--- a/target/arm/Kconfig
+++ b/target/arm/Kconfig
@@ -1,6 +1,7 @@
config ARM
bool
select ARM_COMPATIBLE_SEMIHOSTING if TCG
+ select ARM_V7M if TCG
config AARCH64
bool