mb/kontron/986lcd-m: Drop `_PRS` and `_DIS` 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.
The no-op `_DIS` methods can also be removed for the same reason.

Also, drop `IGNORE_IASL_MISSING_DEPENDENCY` as it's no longer needed.

Change-Id: I71275f2581b999d606f36773578b36dbdccf6452
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63524
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Angel Pons 2022-04-10 11:03:48 +02:00 committed by Felix Held
parent 282b3b6873
commit cf19f70a2d
2 changed files with 0 additions and 21 deletions

View File

@ -1,8 +1,5 @@
if BOARD_KONTRON_986LCD_M if BOARD_KONTRON_986LCD_M
config IGNORE_IASL_MISSING_DEPENDENCY
def_bool y
config BOARD_SPECIFIC_OPTIONS config BOARD_SPECIFIC_OPTIONS
def_bool y def_bool y
select CPU_INTEL_SOCKET_M select CPU_INTEL_SOCKET_M

View File

@ -18,15 +18,6 @@ Device (SIO1)
Return (0x0f) Return (0x0f)
} }
Method (_DIS, 0) { /* NOOP */ }
Name (_PRS, ResourceTemplate() {
StartDependentFn(0, 1) {
IO(Decode16, 0x3f8, 0x3f8, 0x8, 0x8)
IRQNoFlags() { 4 }
} EndDependentFn()
})
Method (_CRS, 0) Method (_CRS, 0)
{ {
Return(ResourceTemplate() { Return(ResourceTemplate() {
@ -51,15 +42,6 @@ Device (SIO1)
Return (0x0f) Return (0x0f)
} }
Method (_DIS, 0) { /* NOOP */ }
Name (_PRS, ResourceTemplate() {
StartDependentFn(0, 1) {
IO(Decode16, 0x2f8, 0x2f8, 0x8, 0x8)
IRQNoFlags() { 3 }
} EndDependentFn()
})
Method (_CRS, 0) Method (_CRS, 0)
{ {
Return(ResourceTemplate() { Return(ResourceTemplate() {