[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 7/8] target/xtensa: Restrict semihosting to TCG
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v4 7/8] target/xtensa: Restrict semihosting to TCG |
Date: |
Wed, 17 Jul 2024 12:57:22 +0200 |
The semihosting feature depends on TCG (due to the probe_access
API access). Although TCG is the single accelerator currently
available for the xtensa target, use the Kconfig "imply" directive
which is more correct (if we were to support a different accel).
Reported-by: Anton Johansson <anjo@rev.ng>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
target/xtensa/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/xtensa/Kconfig b/target/xtensa/Kconfig
index 5e46049262..e8c2598c4d 100644
--- a/target/xtensa/Kconfig
+++ b/target/xtensa/Kconfig
@@ -1,3 +1,3 @@
config XTENSA
bool
- select SEMIHOSTING
+ imply SEMIHOSTING if TCG
--
2.41.0
- [PATCH v4 0/8] semihosting: Restrict to TCG, Philippe Mathieu-Daudé, 2024/07/17
- [PATCH v4 1/8] semihosting: Include missing 'gdbstub/syscalls.h' header, Philippe Mathieu-Daudé, 2024/07/17
- [PATCH v4 2/8] target/m68k: Add semihosting stub, Philippe Mathieu-Daudé, 2024/07/17
- [PATCH v4 3/8] target/mips: Add semihosting stub, Philippe Mathieu-Daudé, 2024/07/17
- [PATCH v4 4/8] target/m68k: Restrict semihosting to TCG, Philippe Mathieu-Daudé, 2024/07/17
- [PATCH v4 5/8] target/mips: Restrict semihosting to TCG, Philippe Mathieu-Daudé, 2024/07/17
- [PATCH v4 6/8] target/riscv: Restrict semihosting to TCG, Philippe Mathieu-Daudé, 2024/07/17
- [PATCH v4 7/8] target/xtensa: Restrict semihosting to TCG,
Philippe Mathieu-Daudé <=
- [PATCH v4 8/8] semihosting: Restrict to TCG, Philippe Mathieu-Daudé, 2024/07/17
- Re: [PATCH v4 0/8] semihosting: Restrict to TCG, Alex Bennée, 2024/07/17