Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/63521 )
Change subject: ec/google/chromeec: Drop `_PRS` for static devices ......................................................................
ec/google/chromeec: Drop `_PRS` for static devices
The `_PRS` ACPI object is not needed for static (non-configurable) devices. For devices where `_CRS` always provides the same set of resource settings, drop the `_PRS` object. Note that every dropped `_PRS` object only provides one set of resource settings, which is identical to the resource settings provided by the `_CRS` object.
Change-Id: Ief40e790fdee336fd6c786e18cd01c41fa658c2c Signed-off-by: Angel Pons th3fanbus@gmail.com --- M src/ec/google/chromeec/acpi/superio.asl 1 file changed, 0 insertions(+), 46 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/21/63521/1
diff --git a/src/ec/google/chromeec/acpi/superio.asl b/src/ec/google/chromeec/acpi/superio.asl index 05310be..0620e09 100644 --- a/src/ec/google/chromeec/acpi/superio.asl +++ b/src/ec/google/chromeec/acpi/superio.asl @@ -37,12 +37,6 @@ IO (Decode16, EC_LPC_ADDR_MEMMAP, EC_LPC_ADDR_MEMMAP, 0x08, EC_MEMMAP_SIZE) }) - - Name (_PRS, ResourceTemplate () - { - IO (Decode16, EC_LPC_ADDR_MEMMAP, EC_LPC_ADDR_MEMMAP, - 0x08, EC_MEMMAP_SIZE) - }) } #endif
@@ -70,23 +64,6 @@ EC_HOST_CMD_REGION1, EC_HOST_CMD_REGION1, 0x08, EC_HOST_CMD_REGION_SIZE) }) - - Name (_PRS, ResourceTemplate () - { - StartDependentFn (0, 0) { - IO (Decode16, EC_LPC_ADDR_HOST_DATA, - EC_LPC_ADDR_HOST_DATA, 0x01, 0x01) - IO (Decode16, EC_LPC_ADDR_HOST_CMD, - EC_LPC_ADDR_HOST_CMD, 0x01, 0x01) - IO (Decode16, - EC_HOST_CMD_REGION0, EC_HOST_CMD_REGION0, - 0x08, EC_HOST_CMD_REGION_SIZE) - IO (Decode16, - EC_HOST_CMD_REGION1, EC_HOST_CMD_REGION1, - 0x08, EC_HOST_CMD_REGION_SIZE) - } - EndDependentFn () - }) } #endif
@@ -104,15 +81,6 @@ IO (Decode16, 0x03F8, 0x3F8, 0x08, 0x08) IRQNoFlags () {4} }) - - Name (_PRS, ResourceTemplate () - { - StartDependentFn (0, 0) { - IO (Decode16, 0x03F8, 0x3F8, 0x08, 0x08) - IRQNoFlags () {4} - } - EndDependentFn () - }) } #endif } @@ -140,20 +108,6 @@ IRQ (Edge, ActiveHigh, Exclusive) {1} #endif }) - - Name (_PRS, ResourceTemplate() - { - StartDependentFn (0, 0) { - IO (Decode16, 0x60, 0x60, 0x01, 0x01) - IO (Decode16, 0x64, 0x64, 0x01, 0x01) -#ifdef SIO_EC_PS2K_IRQ - SIO_EC_PS2K_IRQ -#else - IRQ (Edge, ActiveHigh, Exclusive) {1} -#endif - } - EndDependentFn () - }) } } #endif