summaryrefslogtreecommitdiff
path: root/src/soc/intel/jasperlake/acpi
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2020-10-03 23:07:36 +0530
committerSubrata Banik <subrata.banik@intel.com>2020-10-05 04:01:40 +0000
commit6577ec4de4290d3adbf5fbdc31b09b38c09100cf (patch)
treef69116813072f021e38fbbafe9bfc19cfc2e6c8d /src/soc/intel/jasperlake/acpi
parentae63c1e013576c67e5b9959d9426246705dced44 (diff)
soc/intel/common/block/acpi: Factor out common platform.asl
This patch moves platform.asl into common block acpi directory to avoid duplicating the same ASL code block across SoC directory. TEST=Able to build and boot TGL, CNL and CML platform. 1) Dump and disassemble DSDT, verify _PIC method present inside common platform.asl is still there. 2) Verify no ACPI error seen while running 'dmesg` from console. Signed-off-by: Subrata Banik <subrata.banik@intel.com> Change-Id: I5189b03d6abfaec39882d28b40a9bfa002128be3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/45982 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/jasperlake/acpi')
-rw-r--r--src/soc/intel/jasperlake/acpi/platform.asl20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/soc/intel/jasperlake/acpi/platform.asl b/src/soc/intel/jasperlake/acpi/platform.asl
deleted file mode 100644
index 4b01aeb464..0000000000
--- a/src/soc/intel/jasperlake/acpi/platform.asl
+++ /dev/null
@@ -1,20 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-/* Enable ACPI _SWS methods */
-#include <soc/intel/common/acpi/acpi_wake_source.asl>
-/* Generic indicator for sleep state */
-#include <soc/intel/common/acpi/platform.asl>
-
-/*
- * The _PIC method is called by the OS to choose between interrupt
- * routing via the i8259 interrupt controller or the APIC.
- *
- * _PIC is called with a parameter of 0 for i8259 configuration and
- * with a parameter of 1 for Local Apic/IOAPIC configuration.
- */
-
-Method (_PIC, 1)
-{
- /* Remember the OS' IRQ routing choice. */
- PICM = Arg0
-}