From 5412b41ce6e329cb461a6ae1745e284f4f9849ec Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Sun, 10 Apr 2022 11:00:46 +0200 Subject: superio/smsc/mec1308: Drop `_PRS` from 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. In addition, drop `IGNORE_IASL_MISSING_DEPENDENCY` from the two mainboards using the MEC1308 code, `samsung/{lumpy, stumpy}`. Change-Id: I5d5cdc28c2cfaa5dfcffd656060b931208977386 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/63523 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/superio/smsc/mec1308/acpi/superio.asl | 38 ------------------------------- 1 file changed, 38 deletions(-) (limited to 'src/superio/smsc/mec1308/acpi') diff --git a/src/superio/smsc/mec1308/acpi/superio.asl b/src/superio/smsc/mec1308/acpi/superio.asl index f69232377d..117de961db 100644 --- a/src/superio/smsc/mec1308/acpi/superio.asl +++ b/src/superio/smsc/mec1308/acpi/superio.asl @@ -101,11 +101,6 @@ Device (SIO) { { IO (Decode16, SIO_SPM1_IO0, SIO_SPM1_IO0, 0x08, 0x08) }) - - Name (_PRS, ResourceTemplate () - { - IO (Decode16, SIO_SPM1_IO0, SIO_SPM1_IO0, 0x08, 0x08) - }) } #endif @@ -122,11 +117,6 @@ Device (SIO) { { IO (Decode16, SIO_SEC1_IO0, SIO_SEC1_IO0, 0x04, 0x04) }) - - Name (_PRS, ResourceTemplate () - { - IO (Decode16, SIO_SEC1_IO0, SIO_SEC1_IO0, 0x04, 0x04) - }) } #endif @@ -143,11 +133,6 @@ Device (SIO) { { IO (Decode16, SIO_SEC2_IO0, SIO_SEC2_IO0, 0x04, 0x04) }) - - Name (_PRS, ResourceTemplate () - { - IO (Decode16, SIO_SEC2_IO0, SIO_SEC2_IO0, 0x04, 0x04) - }) } #endif @@ -165,12 +150,6 @@ Device (SIO) { IO (Decode16, SIO_SSP1_IO0, SIO_SSP1_IO0, 0x08, 0x08) IRQNoFlags () {SIO_SSP1_IRQ} }) - - Name (_PRS, ResourceTemplate () - { - IO (Decode16, SIO_SSP1_IO0, SIO_SSP1_IO0, 0x08, 0x08) - IRQNoFlags () {SIO_SSP1_IRQ} - }) } #endif @@ -190,13 +169,6 @@ Device (SIO) { IO (Decode16, 0x64, 0x64, 0x01, 0x01) IRQNoFlags () {1} }) - - Name (_PRS, ResourceTemplate() - { - IO (Decode16, 0x60, 0x60, 0x01, 0x01) - IO (Decode16, 0x64, 0x64, 0x01, 0x01) - IRQNoFlags () {1} - }) } #endif @@ -213,11 +185,6 @@ Device (SIO) { { IO (Decode16, SIO_SEC0_IO0, SIO_SEC0_IO0, 0x04, 0x04) }) - - Name (_PRS, ResourceTemplate () - { - IO (Decode16, SIO_SEC0_IO0, SIO_SEC0_IO0, 0x04, 0x04) - }) } #endif @@ -235,11 +202,6 @@ Device (SIO) { { IO (Decode16, SIO_SMBX_IO0, SIO_SMBX_IO0, 0x01, 0x34) }) - - Name (_PRS, ResourceTemplate() - { - IO (Decode16, SIO_SMBX_IO0, SIO_SMBX_IO0, 0x01, 0x34) - }) } #endif } -- cgit v1.2.3