diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-01-25 17:05:35 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-02-14 21:35:47 +0000 |
commit | d591a5a328b7185f7e6e4ff755f74594e7232dfc (patch) | |
tree | 4187210ef30a6c7b571e2bb1abafdf2daee1001b /src/mainboard | |
parent | fa6a85c8501c0f5566992ecd2ed98f2eaae77f7f (diff) | |
download | coreboot-d591a5a328b7185f7e6e4ff755f74594e7232dfc.tar.gz coreboot-d591a5a328b7185f7e6e4ff755f74594e7232dfc.tar.bz2 coreboot-d591a5a328b7185f7e6e4ff755f74594e7232dfc.zip |
ACPI: Move common _PIC method
Change-Id: I659835354570fb1d4860fcbddf2a51831170a374
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50470
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/51nb/x210/acpi/platform.asl | 14 | ||||
-rw-r--r-- | src/mainboard/emulation/qemu-q35/dsdt.asl | 4 | ||||
-rw-r--r-- | src/mainboard/intel/cedarisland_crb/acpi/platform.asl | 5 | ||||
-rw-r--r-- | src/mainboard/ocp/deltalake/acpi/platform.asl | 14 | ||||
-rw-r--r-- | src/mainboard/ocp/tiogapass/acpi/platform.asl | 14 |
5 files changed, 0 insertions, 51 deletions
diff --git a/src/mainboard/51nb/x210/acpi/platform.asl b/src/mainboard/51nb/x210/acpi/platform.asl index 6cf3f32f2370..dbf6241a7dbe 100644 --- a/src/mainboard/51nb/x210/acpi/platform.asl +++ b/src/mainboard/51nb/x210/acpi/platform.asl @@ -4,20 +4,6 @@ #include <soc/intel/common/acpi/acpi_wake_source.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. */ - Store (Arg0, PICM) -} - -/* * The _PTS method (Prepare To Sleep) is called before the OS is * entering a sleep state. The sleep state number is passed in Arg0 */ diff --git a/src/mainboard/emulation/qemu-q35/dsdt.asl b/src/mainboard/emulation/qemu-q35/dsdt.asl index 25cc549eba5b..d65f2de0ec06 100644 --- a/src/mainboard/emulation/qemu-q35/dsdt.asl +++ b/src/mainboard/emulation/qemu-q35/dsdt.asl @@ -142,10 +142,6 @@ DefinitionBlock ( * PCI IRQs ****************************************************************/ - Method(\_PIC, 1, NotSerialized) { - \PICM = Arg0 - } - Scope(\_SB) { Scope(PCI0) { #define prt_slot_lnk(nr, lnk0, lnk1, lnk2, lnk3) \ diff --git a/src/mainboard/intel/cedarisland_crb/acpi/platform.asl b/src/mainboard/intel/cedarisland_crb/acpi/platform.asl index 6ac38dd937f8..3bebbff94067 100644 --- a/src/mainboard/intel/cedarisland_crb/acpi/platform.asl +++ b/src/mainboard/intel/cedarisland_crb/acpi/platform.asl @@ -19,11 +19,6 @@ Field (POST, ByteAcc, Lock, Preserve) Name(\APC1, Zero) // IIO IOAPIC -Method(_PIC, 1) -{ - Store(Arg0, PICM) -} - /* * The _PTS method (Prepare To Sleep) is called before the OS is * entering a sleep state. The sleep state number is passed in Arg0 diff --git a/src/mainboard/ocp/deltalake/acpi/platform.asl b/src/mainboard/ocp/deltalake/acpi/platform.asl index 286cc6cb99f3..fa6a4510bb9a 100644 --- a/src/mainboard/ocp/deltalake/acpi/platform.asl +++ b/src/mainboard/ocp/deltalake/acpi/platform.asl @@ -335,20 +335,6 @@ Method (TRAP, 1, Serialized) } /* - * 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 -} - -/* * The _PTS method (Prepare To Sleep) is called before the OS is * entering a sleep state. The sleep state number is passed in Arg0 */ diff --git a/src/mainboard/ocp/tiogapass/acpi/platform.asl b/src/mainboard/ocp/tiogapass/acpi/platform.asl index 02c32f93b788..9f51fdf12fc3 100644 --- a/src/mainboard/ocp/tiogapass/acpi/platform.asl +++ b/src/mainboard/ocp/tiogapass/acpi/platform.asl @@ -335,20 +335,6 @@ Method (TRAP, 1, Serialized) } /* - * 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 -} - -/* * The _PTS method (Prepare To Sleep) is called before the OS is * entering a sleep state. The sleep state number is passed in Arg0 */ |