From 87d4f114a24d713c7ce965a52b83974f7b089557 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Sun, 13 Nov 2022 20:33:23 +0100 Subject: {ec/superio}/acpi: Remove _PRS if no _SRS is implemented _PRS only makes sense if _SRS is implemented. Change-Id: I030bd716215b5ac5738e00ebf6ed991d9d6c5ca0 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/69513 Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/ec/google/wilco/acpi/ec_dev.asl | 19 ------------------- src/ec/google/wilco/acpi/superio.asl | 27 --------------------------- 2 files changed, 46 deletions(-) (limited to 'src/ec/google/wilco/acpi') diff --git a/src/ec/google/wilco/acpi/ec_dev.asl b/src/ec/google/wilco/acpi/ec_dev.asl index 9ac3cfcaf1..4b8ae30a5e 100644 --- a/src/ec/google/wilco/acpi/ec_dev.asl +++ b/src/ec/google/wilco/acpi/ec_dev.asl @@ -29,25 +29,6 @@ Device (WLCO) CONFIG_EC_BASE_PACKET, 16, 16) }) - - Name (_PRS, ResourceTemplate () - { - StartDependentFn (0, 0) { - IO (Decode16, - CONFIG_EC_BASE_HOST_DATA, - CONFIG_EC_BASE_HOST_DATA, - 4, 4) - IO (Decode16, - CONFIG_EC_BASE_HOST_COMMAND, - CONFIG_EC_BASE_HOST_COMMAND, - 4, 4) - IO (Decode16, - CONFIG_EC_BASE_PACKET, - CONFIG_EC_BASE_PACKET, - 16, 16) - } - EndDependentFn () - }) } Device (WEVT) diff --git a/src/ec/google/wilco/acpi/superio.asl b/src/ec/google/wilco/acpi/superio.asl index b2737c321f..3cec006546 100644 --- a/src/ec/google/wilco/acpi/superio.asl +++ b/src/ec/google/wilco/acpi/superio.asl @@ -26,15 +26,6 @@ Device (SIO) IO (Decode16, 0x03F8, 0x3F8, 0x08, 0x08) IRQNoFlags () {4} }) - - Name (_PRS, ResourceTemplate () - { - StartDependentFn (0, 0) { - IO (Decode16, 0x03F8, 0x3F8, 0x08, 0x08) - IRQNoFlags () {4} - } - EndDependentFn () - }) } } @@ -61,16 +52,6 @@ Scope (\_SB.PCI0) IO (Decode16, 0x64, 0x64, 0x01, 0x01) IRQ (Edge, ActiveHigh, Exclusive) {1} }) - - Name (_PRS, ResourceTemplate() - { - StartDependentFn (0, 0) { - IO (Decode16, 0x60, 0x60, 0x01, 0x01) - IO (Decode16, 0x64, 0x64, 0x01, 0x01) - IRQ (Edge, ActiveHigh, Exclusive) {1} - } - EndDependentFn () - }) } Device (PS2M) @@ -91,13 +72,5 @@ Scope (\_SB.PCI0) { IRQ (Edge, ActiveHigh, Exclusive) {12} }) - - Name (_PRS, ResourceTemplate() - { - StartDependentFn (0, 0) { - IRQ (Edge, ActiveHigh, Exclusive) {12} - } - EndDependentFn () - }) } } -- cgit v1.2.3