Browse Source

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>
Bernhard Beschow 2 years ago
parent
commit
195f7e77de
2 changed files with 6 additions and 1 deletions
  1. 0 1
      configs/devices/mips-softmmu/common.mak
  2. 6 0
      hw/isa/Kconfig

+ 0 - 1
configs/devices/mips-softmmu/common.mak

@@ -23,7 +23,6 @@ CONFIG_APM=y
 CONFIG_I8257=y
 CONFIG_I8257=y
 CONFIG_PIIX4=y
 CONFIG_PIIX4=y
 CONFIG_IDE_ISA=y
 CONFIG_IDE_ISA=y
-CONFIG_IDE_PIIX=y
 CONFIG_PFLASH_CFI01=y
 CONFIG_PFLASH_CFI01=y
 CONFIG_I8259=y
 CONFIG_I8259=y
 CONFIG_MC146818RTC=y
 CONFIG_MC146818RTC=y

+ 6 - 0
hw/isa/Kconfig

@@ -40,7 +40,13 @@ config PIIX4
     bool
     bool
     # For historical reasons, SuperIO devices are created in the board
     # For historical reasons, SuperIO devices are created in the board
     # for PIIX4.
     # for PIIX4.
+    select ACPI_PIIX4
+    select I8254
+    select I8257
+    select I8259
+    select IDE_PIIX
     select ISA_BUS
     select ISA_BUS
+    select MC146818RTC
     select USB_UHCI
     select USB_UHCI
 
 
 config VT82C686
 config VT82C686