aboutsummaryrefslogtreecommitdiff
path: root/target/arm/Kconfig
diff options
context:
space:
mode:
authorFabiano Rosas <farosas@suse.de>2023-05-23 15:05:23 -0300
committerPeter Maydell <peter.maydell@linaro.org>2023-05-30 15:50:17 +0100
commit257a5ec524374bd00da38b30dddfef1d96ca96f4 (patch)
treeed5a2145058ae38002cf2191187296a09f6079fb /target/arm/Kconfig
parentd7fe699be54b2cbb8e4ee37b63588b3458a49da7 (diff)
target/arm: Explain why we need to select ARM_V7M
We currently need to select ARM_V7M unconditionally when TCG is present in the build because some translate.c helpers and the whole of m_helpers.c are not yet under CONFIG_ARM_V7M. Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20230523180525.29994-2-farosas@suse.de Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/Kconfig')
-rw-r--r--target/arm/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/arm/Kconfig b/target/arm/Kconfig
index 5947366f6e..bf57d739cd 100644
--- a/target/arm/Kconfig
+++ b/target/arm/Kconfig
@@ -1,6 +1,9 @@
config ARM
bool
select ARM_COMPATIBLE_SEMIHOSTING if TCG
+
+ # We need to select this until we move m_helper.c and the
+ # translate.c v7m helpers under ARM_V7M.
select ARM_V7M if TCG
config AARCH64