diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-07-18 10:45:21 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2024-07-22 09:38:11 +0100 |
commit | 10425887ba54241be1ce97f8935fc320332b531c (patch) | |
tree | ca2b7ab15e8028f281cc2f26d7f5d5b4f056e7bd /target/riscv/Kconfig | |
parent | 75cdcc7a2c75a0f22040be535572261bf4ee7240 (diff) |
target/riscv: Restrict semihosting to TCG
Semihosting currently uses the TCG probe_access API. To prepare for
encoding the TCG dependency in Kconfig, do not enable it unless TCG
is available.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20240717105723.58965-7-philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240718094523.1198645-14-alex.bennee@linaro.org>
Diffstat (limited to 'target/riscv/Kconfig')
-rw-r--r-- | target/riscv/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/riscv/Kconfig b/target/riscv/Kconfig index 5f30df22f2..c332616d36 100644 --- a/target/riscv/Kconfig +++ b/target/riscv/Kconfig @@ -1,9 +1,9 @@ config RISCV32 bool - select ARM_COMPATIBLE_SEMIHOSTING # for do_common_semihosting() + imply ARM_COMPATIBLE_SEMIHOSTING if TCG select DEVICE_TREE # needed by boot.c config RISCV64 bool - select ARM_COMPATIBLE_SEMIHOSTING # for do_common_semihosting() + imply ARM_COMPATIBLE_SEMIHOSTING if TCG select DEVICE_TREE # needed by boot.c |