summaryrefslogtreecommitdiff
path: root/src/acpi/Kconfig
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2023-04-11 01:00:17 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2023-04-26 11:02:18 +0000
commit10bdee13272a77aed46912363db691cf4c088a93 (patch)
treebd517b6ae4e690ce5c1fe0d99e353fd012d2fe83 /src/acpi/Kconfig
parente742b68f1ac9324ce1f700323f1226e86d068a8c (diff)
ACPI: Add COMMON_ACPI_MADT_IOAPIC and CUSTOM_ACPI_MADT
Add Kconfig COMMON_ACPI_MADT_IOAPIC to replace platforms' implementations of adding IOAPIC and IRQ override entries for ACPI MADT tables. Platforms that have a more complex MADT may continue to add custom entries using CUSTOM_ACPI_MADT. Change-Id: I0b77769f89cc319ad228eb37bc341e2150b8a892 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74348 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/acpi/Kconfig')
-rw-r--r--src/acpi/Kconfig15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/acpi/Kconfig b/src/acpi/Kconfig
index 5af8b221bd..3b02070554 100644
--- a/src/acpi/Kconfig
+++ b/src/acpi/Kconfig
@@ -31,13 +31,22 @@ config ACPI_SOC_NVS
Set to indicate <soc/nvs.h> exists for the platform with a definition
for global_nvs.
+config ACPI_CUSTOM_MADT
+ bool
+ default n if ACPI_NO_CUSTOM_MADT
+ default y
+ help
+ Selected by platforms that need to expose custom MADT entries.
+
+config ACPI_NO_CUSTOM_MADT
+ bool
+ default y if ACPI_COMMON_MADT_LAPIC && ACPI_COMMON_MADT_IOAPIC
+
config ACPI_COMMON_MADT_LAPIC
bool
-config ACPI_NO_MADT
+config ACPI_COMMON_MADT_IOAPIC
bool
- help
- Selected by platforms that don't expose a useful MADT.
config ACPI_NO_PCAT_8259
bool