Back when Kconfig was introduced, the individual dependencies for MIPS
boards were never added to hw/mips/Kconfig. Do it now.
To simplify the task, include a couple cleanups to the SuperIO chip
configuration symbols, as well as a change that makes USB device
creation available even when building without default devices.
Tested by comparing old and new kconfigs; and also by building each of
the boards one by one, with default devices disabled, and checking that
the board can be started.
Paolo
Based-on: <20240129115809.1039924-1-pbonzini@redhat.com>
v1->v2:
- more cleanup to hw/isa
- include "mips: allow compiling out CONFIG_MIPS_ITU"
- split out patch 3, previously submitted by Bernard
- new patches 4-5 further cleaning up ISA_SUPERIO
- clean up new fdc37m81x-superio.c file
- do not select IDE_ISA for FDC37M81X
Bernhard Beschow (1):
hw/mips/Kconfig: Remove ISA dependencies from MIPSsim board
Paolo Bonzini (8):
usb: inline device creation functions
isa: clean up Kconfig selections for ISA_SUPERIO
isa: fix ISA_SUPERIO dependencies
isa: specify instance_size in isa_superio_type_info
isa: extract FDC37M81X to a separate file
mips: allow compiling out CONFIG_MIPS_ITU
mips: do not list individual devices from configs/
configs/devices/mips-softmmu/common.mak | 26 ++---------------
configs/devices/mips64el-softmmu/default.mak | 3 --
include/hw/usb.h | 27 +++++++++++++++--
hw/isa/fdc37m81x-superio.c | 32 ++++++++++++++++++++
hw/isa/isa-superio.c | 18 -----------
hw/isa/smc37c669-superio.c | 1 -
hw/mips/loongson3_virt.c | 5 +--
hw/mips/mips_itu-stub.c | 26 ++++++++++++++++
hw/mips/mipssim.c | 1 -
hw/usb/bus.c | 23 --------------
hw/display/Kconfig | 2 +-
hw/isa/Kconfig | 20 ++++++------
hw/isa/meson.build | 1 +
hw/mips/Kconfig | 25 ++++++++++++---
hw/mips/meson.build | 1 +
15 files changed, 122 insertions(+), 89 deletions(-)
create mode 100644 hw/isa/fdc37m81x-superio.c
create mode 100644 hw/mips/mips_itu-stub.c
--
2.43.0