summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Beschow2022-10-22 17:04:51 +0200
committerPhilippe Mathieu-Daudé2022-10-31 11:32:07 +0100
commit195f7e77de374b6b9776be3bbbc71c7a11ae5622 (patch)
treeb9f2b44734191b79c59f3eb9735a2f28d60697cb
parenthw/mips/malta: Reuse dev variable (diff)
downloadqemu-195f7e77de374b6b9776be3bbbc71c7a11ae5622.tar.gz
qemu-195f7e77de374b6b9776be3bbbc71c7a11ae5622.tar.xz
qemu-195f7e77de374b6b9776be3bbbc71c7a11ae5622.zip
hw/isa/Kconfig: Fix dependencies of piix4 southbridge
Signed-off-by: Bernhard Beschow <shentey@gmail.com> Message-Id: <20221022150508.26830-27-shentey@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
-rw-r--r--configs/devices/mips-softmmu/common.mak1
-rw-r--r--hw/isa/Kconfig6
2 files changed, 6 insertions, 1 deletions
diff --git a/configs/devices/mips-softmmu/common.mak b/configs/devices/mips-softmmu/common.mak
index d2202c839e..416161f833 100644
--- a/configs/devices/mips-softmmu/common.mak
+++ b/configs/devices/mips-softmmu/common.mak
@@ -23,7 +23,6 @@ CONFIG_APM=y
CONFIG_I8257=y
CONFIG_PIIX4=y
CONFIG_IDE_ISA=y
-CONFIG_IDE_PIIX=y
CONFIG_PFLASH_CFI01=y
CONFIG_I8259=y
CONFIG_MC146818RTC=y
diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig
index 60aad28800..18b5c6bf3f 100644
--- a/hw/isa/Kconfig
+++ b/hw/isa/Kconfig
@@ -40,7 +40,13 @@ config PIIX4
bool
# For historical reasons, SuperIO devices are created in the board
# for PIIX4.
+ select ACPI_PIIX4
+ select I8254
+ select I8257
+ select I8259
+ select IDE_PIIX
select ISA_BUS
+ select MC146818RTC
select USB_UHCI
config VT82C686