target/xtensa: Restrict semihosting to TCG
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 18 Jul 2024 09:45:22 +0000 (10:45 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 22 Jul 2024 08:38:14 +0000 (09:38 +0100)
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>
Message-Id: <20240717105723.58965-8-philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240718094523.1198645-15-alex.bennee@linaro.org>

target/xtensa/Kconfig

index 5e46049262dea1e3fb4163e6ee6858d13beb1696..e8c2598c4d9773cd12e0c962b2df046702c87f6a 100644 (file)
@@ -1,3 +1,3 @@
 config XTENSA
     bool
-    select SEMIHOSTING
+    imply SEMIHOSTING if TCG