diff options
author | Angel Pons <th3fanbus@gmail.com> | 2022-04-10 11:00:46 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-04-20 10:02:17 +0000 |
commit | 5412b41ce6e329cb461a6ae1745e284f4f9849ec (patch) | |
tree | 6da3e56863e00667d4a5b3357036734eda25fb29 | |
parent | 865dd085f6aaef17072184e5f0024d7eeffebafd (diff) |
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 <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63523
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r-- | src/mainboard/samsung/lumpy/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/samsung/stumpy/Kconfig | 3 | ||||
-rw-r--r-- | src/superio/smsc/mec1308/acpi/superio.asl | 38 |
3 files changed, 0 insertions, 44 deletions
diff --git a/src/mainboard/samsung/lumpy/Kconfig b/src/mainboard/samsung/lumpy/Kconfig index f9710e5519..d0574bbbed 100644 --- a/src/mainboard/samsung/lumpy/Kconfig +++ b/src/mainboard/samsung/lumpy/Kconfig @@ -1,8 +1,5 @@ if BOARD_SAMSUNG_LUMPY -config IGNORE_IASL_MISSING_DEPENDENCY - def_bool y - config BOARD_SPECIFIC_OPTIONS def_bool y select SYSTEM_TYPE_LAPTOP diff --git a/src/mainboard/samsung/stumpy/Kconfig b/src/mainboard/samsung/stumpy/Kconfig index 13b0eacbf9..2a706b992b 100644 --- a/src/mainboard/samsung/stumpy/Kconfig +++ b/src/mainboard/samsung/stumpy/Kconfig @@ -1,8 +1,5 @@ if BOARD_SAMSUNG_STUMPY -config IGNORE_IASL_MISSING_DEPENDENCY - def_bool y - config BOARD_SPECIFIC_OPTIONS def_bool y select BOARD_ROMSIZE_KB_8192 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 } |