mb/ibase/mb899: 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: I7e702e9318fbf68dbd883a145111e6beb6815b8b
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63527
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Angel Pons 2022-04-10 11:21:12 +02:00 committed by Felix Held
parent 6decc1dce4
commit c925609c1e
2 changed files with 0 additions and 21 deletions

View File

@ -1,8 +1,5 @@
if BOARD_IBASE_MB899 if BOARD_IBASE_MB899
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() {