[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 2/7] hw/acpi/Kconfig: Add missing dependencies to ACPI_ICH9
From: |
Bernhard Beschow |
Subject: |
[PATCH v2 2/7] hw/acpi/Kconfig: Add missing dependencies to ACPI_ICH9 |
Date: |
Fri, 16 Dec 2022 14:03:50 +0100 |
ich9_lpc_realize() uses apm_init() and ich9_smbus_realize() uses
pm_smbus_init(), so both APM and ACPI_SMBUS are provided by the device
models managed by ACPI_ICH9.
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
hw/acpi/Kconfig | 2 ++
hw/isa/Kconfig | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/acpi/Kconfig b/hw/acpi/Kconfig
index 14694c75b4..704cbc6236 100644
--- a/hw/acpi/Kconfig
+++ b/hw/acpi/Kconfig
@@ -15,7 +15,9 @@ config ACPI_X86
config ACPI_ICH9
bool
+ select ACPI_SMBUS
select ACPI_X86
+ select APM
config ACPI_CPU_HOTPLUG
bool
diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig
index 01f330d941..0a6a04947c 100644
--- a/hw/isa/Kconfig
+++ b/hw/isa/Kconfig
@@ -77,5 +77,4 @@ config LPC_ICH9
# for ICH9.
select I8257
select ISA_BUS
- select ACPI_SMBUS
select ACPI_ICH9
--
2.39.0
- Re: [PATCH v2 3/7] hw/acpi/Kconfig: Do not needlessly build TYPE_PIIX4_PM in non-PC/Malta machines, (continued)
- [PATCH v2 1/7] hw/acpi/Kconfig: Rename ACPI_X86_ICH to ACPI_ICH9, Bernhard Beschow, 2022/12/16
- [PATCH v2 5/7] hw/isa/Kconfig: Add missing dependency to VT82C686, Bernhard Beschow, 2022/12/16
- [PATCH v2 4/7] hw/acpi/Kconfig: Add missing dependencies to ACPI_PIIX4, Bernhard Beschow, 2022/12/16
- [PATCH v2 7/7] hw/ppc/Kconfig: Remove unused dependencies from PEGASOS2, Bernhard Beschow, 2022/12/16
- [PATCH v2 2/7] hw/acpi/Kconfig: Add missing dependencies to ACPI_ICH9,
Bernhard Beschow <=
- [PATCH v2 6/7] i386, mips: Resolve redundant ACPI and APM dependencies, 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