From 9b3112c875b84a8f060ab1cdacc63475f619f916 Mon Sep 17 00:00:00 2001 From: Tim Van Patten Date: Tue, 13 Sep 2022 10:08:49 -0600 Subject: [PATCH] acpi/soc: Conditionally include dptc.asl Conditionally include dptc.asl based on the Kconfig value SOC_AMD_COMMON_BLOCK_ACPI_DPTC. BRANCH=none BUG=b:217911928 TEST=Build zork TEST=Build guybrush TEST=Build skyrim TEST=Build majolica Change-Id: Idd94af8e8b2d7973abc0fb939e4600189e21656a Signed-off-by: Tim Van Patten Reviewed-on: https://review.coreboot.org/c/coreboot/+/67620 Reviewed-by: Raul Rangel Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- src/soc/amd/cezanne/acpi/soc.asl | 2 ++ src/soc/amd/mendocino/acpi/soc.asl | 2 ++ src/soc/amd/picasso/acpi/soc.asl | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/soc/amd/cezanne/acpi/soc.asl b/src/soc/amd/cezanne/acpi/soc.asl index 7e3a3ee6a8..f8f7a8a7a8 100644 --- a/src/soc/amd/cezanne/acpi/soc.asl +++ b/src/soc/amd/cezanne/acpi/soc.asl @@ -27,7 +27,9 @@ Scope(\_SB) { #include +#if CONFIG(SOC_AMD_COMMON_BLOCK_ACPI_DPTC) #include +#endif #include "rtc_workaround.asl" diff --git a/src/soc/amd/mendocino/acpi/soc.asl b/src/soc/amd/mendocino/acpi/soc.asl index 5bce314fc0..91b1444c1d 100644 --- a/src/soc/amd/mendocino/acpi/soc.asl +++ b/src/soc/amd/mendocino/acpi/soc.asl @@ -29,7 +29,9 @@ Scope(\_SB) { #include +#if CONFIG(SOC_AMD_COMMON_BLOCK_ACPI_DPTC) #include +#endif #include "rtc_workaround.asl" diff --git a/src/soc/amd/picasso/acpi/soc.asl b/src/soc/amd/picasso/acpi/soc.asl index d9d40c7f65..c4425ebdd8 100644 --- a/src/soc/amd/picasso/acpi/soc.asl +++ b/src/soc/amd/picasso/acpi/soc.asl @@ -17,4 +17,6 @@ Device(PCI0) { /* Add GPIO library */ #include +#if CONFIG(SOC_AMD_COMMON_BLOCK_ACPI_DPTC) #include +#endif