hw/acpi/Kconfig: Add missing dependencies to ACPI_PIIX4

piix4_pm_realize() uses apm_init() and pm_smbus_init(), so both APM and
ACPI_SMBUS are provided by the device model managed by ACPI_PIIX4.

The ACPIREGS are also provided by ACPI_PIIX4, so needs to select ACPI.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20221216130355.41667-5-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
Bernhard Beschow 2022-12-16 14:03:52 +01:00 committed by Michael S. Tsirkin
parent d9237edbb5
commit edc9cab483

View file

@ -31,7 +31,9 @@ config ACPI_NVDIMM
config ACPI_PIIX4
bool
depends on ACPI
select ACPI
select ACPI_SMBUS
select APM
config ACPI_PCIHP
bool