kconfig: use "select" to enable semihosting

Just like all other dependencies, these can be expressed in Kconfig
files rather than in the default configurations.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20240129115809.1039924-1-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240207163812.3231697-10-alex.bennee@linaro.org>
This commit is contained in:
Paolo Bonzini 2024-02-07 16:38:07 +00:00 committed by Alex Bennée
parent 1fed4cd04d
commit 2df1eb2756
11 changed files with 6 additions and 13 deletions

View File

@ -1,7 +1,5 @@
# Default configuration for m68k-softmmu
CONFIG_SEMIHOSTING=y
# Boards:
#
CONFIG_AN5206=y

View File

@ -1,8 +1,5 @@
# Common mips*-softmmu CONFIG defines
# CONFIG_SEMIHOSTING is always required on this architecture
CONFIG_SEMIHOSTING=y
CONFIG_ISA_BUS=y
CONFIG_PCI=y
CONFIG_PCI_DEVICES=y

View File

@ -1,7 +1,5 @@
# Default configuration for nios2-softmmu
CONFIG_SEMIHOSTING=y
# Boards:
#
CONFIG_NIOS2_10M50=y

View File

@ -3,8 +3,6 @@
# Uncomment the following lines to disable these optional devices:
#
#CONFIG_PCI_DEVICES=n
CONFIG_SEMIHOSTING=y
CONFIG_ARM_COMPATIBLE_SEMIHOSTING=y
# Boards:
#

View File

@ -3,8 +3,6 @@
# Uncomment the following lines to disable these optional devices:
#
#CONFIG_PCI_DEVICES=n
CONFIG_SEMIHOSTING=y
CONFIG_ARM_COMPATIBLE_SEMIHOSTING=y
# Boards:
#

View File

@ -1,7 +1,5 @@
# Default configuration for Xtensa
CONFIG_SEMIHOSTING=y
# Boards:
#
CONFIG_XTENSA_SIM=y

View File

@ -1,2 +1,3 @@
config M68K
bool
select SEMIHOSTING

View File

@ -1,5 +1,6 @@
config MIPS
bool
select SEMIHOSTING
config MIPS64
bool

View File

@ -1,2 +1,3 @@
config NIOS2
bool
select SEMIHOSTING

View File

@ -1,5 +1,7 @@
config RISCV32
bool
select ARM_COMPATIBLE_SEMIHOSTING # for do_common_semihosting()
config RISCV64
bool
select ARM_COMPATIBLE_SEMIHOSTING # for do_common_semihosting()

View File

@ -1,2 +1,3 @@
config XTENSA
bool
select SEMIHOSTING