qemu/hw/mips/Kconfig
Paolo Bonzini d641ec30be kconfig: express dependency of individual boards on libfdt
Now that boards are enabled by default and the "CONFIG_FOO=y"
entries are gone from configs/devices/, there cannot be any more
a conflicts between the default contents of configs/devices/
and a failed "depends on" clause.

With this change, each individual board or target can express
whether it needs FDT.  It can then include the common code in the
build via "select DEVICE_TREE", which will also as tell meson to link
with libfdt.

This allows building non-microvm x86 emulators without having
libfdt available.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-05-10 15:45:15 +02:00

95 lines
1.7 KiB
Plaintext

config MALTA
bool
default y
depends on MIPS
imply PCNET_PCI
imply PCI_DEVICES
imply TEST_DEVICES
select FDC37M81X
select GT64120
select MIPS_CPS
select PIIX
select PFLASH_CFI01
select SERIAL
select SMBUS_EEPROM
config MIPSSIM
bool
default y
depends on MIPS
select SERIAL
select MIPSNET
config JAZZ
bool
default y
depends on MIPS64
select ISA_BUS
select RC4030
select I8259
select I8254
select I8257
select PCSPK
select VGA_MMIO
select G364FB
select DP8393X
select ESP
select FDC_SYSBUS
select MC146818RTC
select PCKBD
select SERIAL
select PARALLEL
select DS1225Y
select JAZZ_LED
config FULOONG
bool
default y
depends on MIPS64 && !TARGET_BIG_ENDIAN
imply PCI_DEVICES
imply TEST_DEVICES
imply ATI_VGA
imply RTL8139_PCI
select PCI_BONITO
select SMBUS_EEPROM
select VT82C686
config LOONGSON3V
bool
default y
depends on MIPS64 && !TARGET_BIG_ENDIAN
imply PCI_DEVICES
imply TEST_DEVICES
imply VIRTIO_PCI
imply VIRTIO_NET
imply VIRTIO_VGA
imply QXL if SPICE
imply USB_OHCI_PCI
select SERIAL
select GOLDFISH_RTC
select LOONGSON_LIOINTC
select PCI_EXPRESS_GENERIC_BRIDGE
select MSI_NONBROKEN
select FW_CFG_MIPS
select UNIMP
config MIPS_CPS
bool
select MIPS_ITU
config MIPS_BOSTON
bool
default y
depends on MIPS64 && !TARGET_BIG_ENDIAN && FDT
imply PCI_DEVICES
imply TEST_DEVICES
select DEVICE_TREE
select FITLOADER
select MIPS_CPS
select PCI_EXPRESS_XILINX
select AHCI_ICH9
select SERIAL
config FW_CFG_MIPS
bool