[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 4/7] hw/acpi/Kconfig: Add missing dependencies to ACPI_PIIX4
From: |
Bernhard Beschow |
Subject: |
[PATCH v2 4/7] hw/acpi/Kconfig: Add missing dependencies to ACPI_PIIX4 |
Date: |
Fri, 16 Dec 2022 14:03:52 +0100 |
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>
---
hw/acpi/Kconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hw/acpi/Kconfig b/hw/acpi/Kconfig
index b7006e18c8..1f7803fdab 100644
--- a/hw/acpi/Kconfig
+++ b/hw/acpi/Kconfig
@@ -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
--
2.39.0
- [PATCH v2 7/7] hw/ppc/Kconfig: Remove unused dependencies from PEGASOS2, (continued)
- [PATCH v2 7/7] hw/ppc/Kconfig: Remove unused dependencies from PEGASOS2, Bernhard Beschow, 2022/12/16
- [PATCH v2 5/7] hw/isa/Kconfig: Add missing dependency to VT82C686, Bernhard Beschow, 2022/12/16
- [PATCH v2 6/7] i386, mips: Resolve redundant ACPI and APM dependencies, Bernhard Beschow, 2022/12/16
- [PATCH v2 4/7] hw/acpi/Kconfig: Add missing dependencies to ACPI_PIIX4,
Bernhard Beschow <=
- [PATCH v2 1/7] hw/acpi/Kconfig: Rename ACPI_X86_ICH to ACPI_ICH9, Bernhard Beschow, 2022/12/16
- [PATCH v2 3/7] hw/acpi/Kconfig: Do not needlessly build TYPE_PIIX4_PM in non-PC/Malta machines, Bernhard Beschow, 2022/12/16
- Re: [PATCH v2 0/7] Clean up dependencies of ACPI controllers, Bernhard Beschow, 2022/12/17
- Re: [PATCH v2 0/7] Clean up dependencies of ACPI controllers, Bernhard Beschow, 2022/12/21