Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45982 )
Change subject: soc/intel/common/block/acpi: Factor out common platform.asl ......................................................................
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 --- M src/mainboard/asrock/h110m/dsdt.asl M src/mainboard/clevo/cml-u/dsdt.asl M src/mainboard/facebook/monolith/dsdt.asl M src/mainboard/google/dedede/dsdt.asl M src/mainboard/google/deltaur/dsdt.asl M src/mainboard/google/drallion/dsdt.asl M src/mainboard/google/eve/dsdt.asl M src/mainboard/google/fizz/dsdt.asl M src/mainboard/google/glados/dsdt.asl M src/mainboard/google/hatch/dsdt.asl M src/mainboard/google/poppy/dsdt.asl M src/mainboard/google/sarien/dsdt.asl M src/mainboard/google/volteer/dsdt.asl M src/mainboard/intel/cannonlake_rvp/dsdt.asl M src/mainboard/intel/coffeelake_rvp/dsdt.asl M src/mainboard/intel/icelake_rvp/dsdt.asl M src/mainboard/intel/jasperlake_rvp/dsdt.asl M src/mainboard/intel/kblrvp/dsdt.asl M src/mainboard/intel/kunimitsu/dsdt.asl M src/mainboard/intel/saddlebrook/dsdt.asl M src/mainboard/intel/tglrvp/dsdt.asl M src/mainboard/kontron/bsl6/dsdt.asl M src/mainboard/libretrend/lt1000/dsdt.asl M src/mainboard/prodrive/hermes/dsdt.asl M src/mainboard/protectli/vault_kbl/dsdt.asl M src/mainboard/purism/librem_skl/dsdt.asl M src/mainboard/purism/librem_whl/dsdt.asl M src/mainboard/razer/blade_stealth_kbl/dsdt.asl M src/mainboard/supermicro/x11-lga1151-series/dsdt.asl M src/mainboard/system76/lemp9/dsdt.asl R src/soc/intel/common/block/acpi/acpi/platform.asl D src/soc/intel/elkhartlake/acpi/platform.asl D src/soc/intel/icelake/acpi/platform.asl D src/soc/intel/jasperlake/acpi/platform.asl D src/soc/intel/skylake/acpi/platform.asl D src/soc/intel/tigerlake/acpi/platform.asl 36 files changed, 30 insertions(+), 130 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/82/45982/1
diff --git a/src/mainboard/asrock/h110m/dsdt.asl b/src/mainboard/asrock/h110m/dsdt.asl index 4059596..457c927 100644 --- a/src/mainboard/asrock/h110m/dsdt.asl +++ b/src/mainboard/asrock/h110m/dsdt.asl @@ -10,7 +10,7 @@ 0x20110725 // OEM revision ) { - #include <soc/intel/skylake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
// global NVS and variables #include <soc/intel/skylake/acpi/globalnvs.asl> diff --git a/src/mainboard/clevo/cml-u/dsdt.asl b/src/mainboard/clevo/cml-u/dsdt.asl index eac27b5..bffb668 100644 --- a/src/mainboard/clevo/cml-u/dsdt.asl +++ b/src/mainboard/clevo/cml-u/dsdt.asl @@ -10,7 +10,7 @@ 0x20110725 // OEM revision ) { - #include <soc/intel/cannonlake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl> #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> #include <cpu/intel/common/acpi/cpu.asl>
diff --git a/src/mainboard/facebook/monolith/dsdt.asl b/src/mainboard/facebook/monolith/dsdt.asl index 238e87b..2fd7851 100644 --- a/src/mainboard/facebook/monolith/dsdt.asl +++ b/src/mainboard/facebook/monolith/dsdt.asl @@ -10,7 +10,7 @@ 0x20110725 // OEM revision ) { - #include <soc/intel/skylake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
// global NVS and variables #include <soc/intel/skylake/acpi/globalnvs.asl> diff --git a/src/mainboard/google/dedede/dsdt.asl b/src/mainboard/google/dedede/dsdt.asl index 6365e5e..bbdbd3b 100644 --- a/src/mainboard/google/dedede/dsdt.asl +++ b/src/mainboard/google/dedede/dsdt.asl @@ -13,7 +13,7 @@ 0x20110725 /* OEM revision */ ) { - #include <soc/intel/jasperlake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
/* global NVS and variables */ #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> diff --git a/src/mainboard/google/deltaur/dsdt.asl b/src/mainboard/google/deltaur/dsdt.asl index fac58bd..8666ec7 100644 --- a/src/mainboard/google/deltaur/dsdt.asl +++ b/src/mainboard/google/deltaur/dsdt.asl @@ -13,7 +13,7 @@ 0x20110725 /* OEM revision */ ) { - #include <soc/intel/tigerlake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
/* global NVS and variables */ #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> diff --git a/src/mainboard/google/drallion/dsdt.asl b/src/mainboard/google/drallion/dsdt.asl index c9f7391..2fbff26 100644 --- a/src/mainboard/google/drallion/dsdt.asl +++ b/src/mainboard/google/drallion/dsdt.asl @@ -12,7 +12,7 @@ 0x20110725 /* OEM revision */ ) { - #include <soc/intel/cannonlake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
/* global NVS and variables */ #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> diff --git a/src/mainboard/google/eve/dsdt.asl b/src/mainboard/google/eve/dsdt.asl index b73dcb5..0009d95 100644 --- a/src/mainboard/google/eve/dsdt.asl +++ b/src/mainboard/google/eve/dsdt.asl @@ -13,7 +13,7 @@ 0x20110725 // OEM revision ) { - #include <soc/intel/skylake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
/* global NVS and variables */ #include <soc/intel/skylake/acpi/globalnvs.asl> diff --git a/src/mainboard/google/fizz/dsdt.asl b/src/mainboard/google/fizz/dsdt.asl index 83c7718..965770c 100644 --- a/src/mainboard/google/fizz/dsdt.asl +++ b/src/mainboard/google/fizz/dsdt.asl @@ -13,7 +13,7 @@ 0x20110725 // OEM revision ) { - #include <soc/intel/skylake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
/* global NVS and variables */ #include <soc/intel/skylake/acpi/globalnvs.asl> diff --git a/src/mainboard/google/glados/dsdt.asl b/src/mainboard/google/glados/dsdt.asl index 040c960..707c84c 100644 --- a/src/mainboard/google/glados/dsdt.asl +++ b/src/mainboard/google/glados/dsdt.asl @@ -10,7 +10,7 @@ 0x20110725 // OEM revision ) { - #include <soc/intel/skylake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
// global NVS and variables #include <soc/intel/skylake/acpi/globalnvs.asl> diff --git a/src/mainboard/google/hatch/dsdt.asl b/src/mainboard/google/hatch/dsdt.asl index d60da37..3ca98ab 100644 --- a/src/mainboard/google/hatch/dsdt.asl +++ b/src/mainboard/google/hatch/dsdt.asl @@ -13,7 +13,7 @@ 0x20110725 /* OEM revision */ ) { - #include <soc/intel/cannonlake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
/* global NVS and variables */ #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> diff --git a/src/mainboard/google/poppy/dsdt.asl b/src/mainboard/google/poppy/dsdt.asl index 29dbb58..ed25beb 100644 --- a/src/mainboard/google/poppy/dsdt.asl +++ b/src/mainboard/google/poppy/dsdt.asl @@ -13,7 +13,7 @@ 0x20110725 // OEM revision ) { - #include <soc/intel/skylake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
/* global NVS and variables */ #include <soc/intel/skylake/acpi/globalnvs.asl> diff --git a/src/mainboard/google/sarien/dsdt.asl b/src/mainboard/google/sarien/dsdt.asl index 0382fcb..aafade4 100644 --- a/src/mainboard/google/sarien/dsdt.asl +++ b/src/mainboard/google/sarien/dsdt.asl @@ -12,7 +12,7 @@ 0x20110725 /* OEM revision */ ) { - #include <soc/intel/cannonlake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
/* global NVS and variables */ #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> diff --git a/src/mainboard/google/volteer/dsdt.asl b/src/mainboard/google/volteer/dsdt.asl index dc8f7ad..18c975e 100644 --- a/src/mainboard/google/volteer/dsdt.asl +++ b/src/mainboard/google/volteer/dsdt.asl @@ -13,7 +13,7 @@ 0x20110725 // OEM revision ) { - #include <soc/intel/tigerlake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
// global NVS and variables #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> diff --git a/src/mainboard/intel/cannonlake_rvp/dsdt.asl b/src/mainboard/intel/cannonlake_rvp/dsdt.asl index 5a06a45..280844d 100644 --- a/src/mainboard/intel/cannonlake_rvp/dsdt.asl +++ b/src/mainboard/intel/cannonlake_rvp/dsdt.asl @@ -10,7 +10,7 @@ 0x20110725 // OEM revision ) { - #include <soc/intel/cannonlake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
// global NVS and variables #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> diff --git a/src/mainboard/intel/coffeelake_rvp/dsdt.asl b/src/mainboard/intel/coffeelake_rvp/dsdt.asl index 121012e..5dd84cf 100644 --- a/src/mainboard/intel/coffeelake_rvp/dsdt.asl +++ b/src/mainboard/intel/coffeelake_rvp/dsdt.asl @@ -10,7 +10,7 @@ 0x20110725 // OEM revision ) { - #include <soc/intel/cannonlake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
// global NVS and variables #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> diff --git a/src/mainboard/intel/icelake_rvp/dsdt.asl b/src/mainboard/intel/icelake_rvp/dsdt.asl index a3c93e2..41a9c0a 100644 --- a/src/mainboard/intel/icelake_rvp/dsdt.asl +++ b/src/mainboard/intel/icelake_rvp/dsdt.asl @@ -13,7 +13,7 @@ 0x20110725 // OEM revision ) { - #include <soc/intel/icelake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
// global NVS and variables #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> diff --git a/src/mainboard/intel/jasperlake_rvp/dsdt.asl b/src/mainboard/intel/jasperlake_rvp/dsdt.asl index be883b4c..ce781e2 100644 --- a/src/mainboard/intel/jasperlake_rvp/dsdt.asl +++ b/src/mainboard/intel/jasperlake_rvp/dsdt.asl @@ -13,7 +13,7 @@ 0x20110725 /* OEM revision */ ) { - #include <soc/intel/jasperlake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
/* global NVS and variables */ #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> diff --git a/src/mainboard/intel/kblrvp/dsdt.asl b/src/mainboard/intel/kblrvp/dsdt.asl index 354f488..6eee06a 100644 --- a/src/mainboard/intel/kblrvp/dsdt.asl +++ b/src/mainboard/intel/kblrvp/dsdt.asl @@ -10,7 +10,7 @@ 0x20110725 // OEM revision ) { - #include <soc/intel/skylake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
// global NVS and variables #include <soc/intel/skylake/acpi/globalnvs.asl> diff --git a/src/mainboard/intel/kunimitsu/dsdt.asl b/src/mainboard/intel/kunimitsu/dsdt.asl index 90a5594..7159577 100644 --- a/src/mainboard/intel/kunimitsu/dsdt.asl +++ b/src/mainboard/intel/kunimitsu/dsdt.asl @@ -10,7 +10,7 @@ 0x20110725 // OEM revision ) { - #include <soc/intel/skylake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
// global NVS and variables #include <soc/intel/skylake/acpi/globalnvs.asl> diff --git a/src/mainboard/intel/saddlebrook/dsdt.asl b/src/mainboard/intel/saddlebrook/dsdt.asl index f705b54..d869076 100644 --- a/src/mainboard/intel/saddlebrook/dsdt.asl +++ b/src/mainboard/intel/saddlebrook/dsdt.asl @@ -10,7 +10,7 @@ 0x20110725 // OEM revision ) { - #include <soc/intel/skylake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
// global NVS and variables #include <soc/intel/skylake/acpi/globalnvs.asl> diff --git a/src/mainboard/intel/tglrvp/dsdt.asl b/src/mainboard/intel/tglrvp/dsdt.asl index e5323ef..5cde1de 100644 --- a/src/mainboard/intel/tglrvp/dsdt.asl +++ b/src/mainboard/intel/tglrvp/dsdt.asl @@ -13,7 +13,7 @@ 0x20110725 /* OEM revision */ ) { - #include <soc/intel/tigerlake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
/* global NVS and variables */ #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> diff --git a/src/mainboard/kontron/bsl6/dsdt.asl b/src/mainboard/kontron/bsl6/dsdt.asl index a133a9d..225c8a5 100644 --- a/src/mainboard/kontron/bsl6/dsdt.asl +++ b/src/mainboard/kontron/bsl6/dsdt.asl @@ -11,7 +11,7 @@ ) { #include <cpu/intel/common/acpi/cpu.asl> - #include <soc/intel/skylake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl> #include <soc/intel/skylake/acpi/globalnvs.asl>
Device (_SB.PCI0) { diff --git a/src/mainboard/libretrend/lt1000/dsdt.asl b/src/mainboard/libretrend/lt1000/dsdt.asl index 5b3a5df..2a3876b 100644 --- a/src/mainboard/libretrend/lt1000/dsdt.asl +++ b/src/mainboard/libretrend/lt1000/dsdt.asl @@ -10,7 +10,7 @@ 0x20110725 /* OEM revision */ ) { - #include <soc/intel/skylake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl> #include <soc/intel/skylake/acpi/globalnvs.asl> #include <cpu/intel/common/acpi/cpu.asl>
diff --git a/src/mainboard/prodrive/hermes/dsdt.asl b/src/mainboard/prodrive/hermes/dsdt.asl index 4d8d170..ef84928 100644 --- a/src/mainboard/prodrive/hermes/dsdt.asl +++ b/src/mainboard/prodrive/hermes/dsdt.asl @@ -10,7 +10,7 @@ 0x20110725 // OEM revision ) { - #include <soc/intel/cannonlake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
// global NVS and variables #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> diff --git a/src/mainboard/protectli/vault_kbl/dsdt.asl b/src/mainboard/protectli/vault_kbl/dsdt.asl index 5b3a5df..2a3876b 100644 --- a/src/mainboard/protectli/vault_kbl/dsdt.asl +++ b/src/mainboard/protectli/vault_kbl/dsdt.asl @@ -10,7 +10,7 @@ 0x20110725 /* OEM revision */ ) { - #include <soc/intel/skylake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl> #include <soc/intel/skylake/acpi/globalnvs.asl> #include <cpu/intel/common/acpi/cpu.asl>
diff --git a/src/mainboard/purism/librem_skl/dsdt.asl b/src/mainboard/purism/librem_skl/dsdt.asl index dacfeff..0039e6b 100644 --- a/src/mainboard/purism/librem_skl/dsdt.asl +++ b/src/mainboard/purism/librem_skl/dsdt.asl @@ -10,7 +10,7 @@ 0x20110725 // OEM revision ) { - #include <soc/intel/skylake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
// global NVS and variables #include <soc/intel/skylake/acpi/globalnvs.asl> diff --git a/src/mainboard/purism/librem_whl/dsdt.asl b/src/mainboard/purism/librem_whl/dsdt.asl index 296be17..d365cf5 100644 --- a/src/mainboard/purism/librem_whl/dsdt.asl +++ b/src/mainboard/purism/librem_whl/dsdt.asl @@ -10,7 +10,7 @@ 0x20110725 /* OEM revision */ ) { - #include <soc/intel/cannonlake/acpi/platform.asl> + ##include <soc/intel/common/block/acpi/acpi/platform.asl> #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> #include <cpu/intel/common/acpi/cpu.asl>
diff --git a/src/mainboard/razer/blade_stealth_kbl/dsdt.asl b/src/mainboard/razer/blade_stealth_kbl/dsdt.asl index ec3ca79..7d4a92c 100644 --- a/src/mainboard/razer/blade_stealth_kbl/dsdt.asl +++ b/src/mainboard/razer/blade_stealth_kbl/dsdt.asl @@ -11,7 +11,7 @@ 0x20110725 // OEM revision ){ //Platform - #include <soc/intel/skylake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
// global NVS and variables #include <soc/intel/skylake/acpi/globalnvs.asl> diff --git a/src/mainboard/supermicro/x11-lga1151-series/dsdt.asl b/src/mainboard/supermicro/x11-lga1151-series/dsdt.asl index f705b54..d869076 100644 --- a/src/mainboard/supermicro/x11-lga1151-series/dsdt.asl +++ b/src/mainboard/supermicro/x11-lga1151-series/dsdt.asl @@ -10,7 +10,7 @@ 0x20110725 // OEM revision ) { - #include <soc/intel/skylake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl>
// global NVS and variables #include <soc/intel/skylake/acpi/globalnvs.asl> diff --git a/src/mainboard/system76/lemp9/dsdt.asl b/src/mainboard/system76/lemp9/dsdt.asl index eac27b5..bffb668 100644 --- a/src/mainboard/system76/lemp9/dsdt.asl +++ b/src/mainboard/system76/lemp9/dsdt.asl @@ -10,7 +10,7 @@ 0x20110725 // OEM revision ) { - #include <soc/intel/cannonlake/acpi/platform.asl> + #include <soc/intel/common/block/acpi/acpi/platform.asl> #include <soc/intel/common/block/acpi/acpi/globalnvs.asl> #include <cpu/intel/common/acpi/cpu.asl>
diff --git a/src/soc/intel/cannonlake/acpi/platform.asl b/src/soc/intel/common/block/acpi/acpi/platform.asl similarity index 100% rename from src/soc/intel/cannonlake/acpi/platform.asl rename to src/soc/intel/common/block/acpi/acpi/platform.asl diff --git a/src/soc/intel/elkhartlake/acpi/platform.asl b/src/soc/intel/elkhartlake/acpi/platform.asl deleted file mode 100644 index 4b01aeb..0000000 --- a/src/soc/intel/elkhartlake/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 -} diff --git a/src/soc/intel/icelake/acpi/platform.asl b/src/soc/intel/icelake/acpi/platform.asl deleted file mode 100644 index 4b01aeb..0000000 --- a/src/soc/intel/icelake/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 -} diff --git a/src/soc/intel/jasperlake/acpi/platform.asl b/src/soc/intel/jasperlake/acpi/platform.asl deleted file mode 100644 index 4b01aeb..0000000 --- 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 -} diff --git a/src/soc/intel/skylake/acpi/platform.asl b/src/soc/intel/skylake/acpi/platform.asl deleted file mode 100644 index 4b01aeb..0000000 --- a/src/soc/intel/skylake/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 -} diff --git a/src/soc/intel/tigerlake/acpi/platform.asl b/src/soc/intel/tigerlake/acpi/platform.asl deleted file mode 100644 index 4b01aeb..0000000 --- a/src/soc/intel/tigerlake/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 -}