{ec/superio}/acpi: Remove _PRS if no _SRS is implemented
_PRS only makes sense if _SRS is implemented. Change-Id: I030bd716215b5ac5738e00ebf6ed991d9d6c5ca0 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69513 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
This commit is contained in:
committed by
Martin Roth
parent
148fd99365
commit
87d4f114a2
@@ -29,25 +29,6 @@ Device (WLCO)
|
||||
CONFIG_EC_BASE_PACKET,
|
||||
16, 16)
|
||||
})
|
||||
|
||||
Name (_PRS, ResourceTemplate ()
|
||||
{
|
||||
StartDependentFn (0, 0) {
|
||||
IO (Decode16,
|
||||
CONFIG_EC_BASE_HOST_DATA,
|
||||
CONFIG_EC_BASE_HOST_DATA,
|
||||
4, 4)
|
||||
IO (Decode16,
|
||||
CONFIG_EC_BASE_HOST_COMMAND,
|
||||
CONFIG_EC_BASE_HOST_COMMAND,
|
||||
4, 4)
|
||||
IO (Decode16,
|
||||
CONFIG_EC_BASE_PACKET,
|
||||
CONFIG_EC_BASE_PACKET,
|
||||
16, 16)
|
||||
}
|
||||
EndDependentFn ()
|
||||
})
|
||||
}
|
||||
|
||||
Device (WEVT)
|
||||
|
@@ -26,15 +26,6 @@ Device (SIO)
|
||||
IO (Decode16, 0x03F8, 0x3F8, 0x08, 0x08)
|
||||
IRQNoFlags () {4}
|
||||
})
|
||||
|
||||
Name (_PRS, ResourceTemplate ()
|
||||
{
|
||||
StartDependentFn (0, 0) {
|
||||
IO (Decode16, 0x03F8, 0x3F8, 0x08, 0x08)
|
||||
IRQNoFlags () {4}
|
||||
}
|
||||
EndDependentFn ()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,16 +52,6 @@ Scope (\_SB.PCI0)
|
||||
IO (Decode16, 0x64, 0x64, 0x01, 0x01)
|
||||
IRQ (Edge, ActiveHigh, Exclusive) {1}
|
||||
})
|
||||
|
||||
Name (_PRS, ResourceTemplate()
|
||||
{
|
||||
StartDependentFn (0, 0) {
|
||||
IO (Decode16, 0x60, 0x60, 0x01, 0x01)
|
||||
IO (Decode16, 0x64, 0x64, 0x01, 0x01)
|
||||
IRQ (Edge, ActiveHigh, Exclusive) {1}
|
||||
}
|
||||
EndDependentFn ()
|
||||
})
|
||||
}
|
||||
|
||||
Device (PS2M)
|
||||
@@ -91,13 +72,5 @@ Scope (\_SB.PCI0)
|
||||
{
|
||||
IRQ (Edge, ActiveHigh, Exclusive) {12}
|
||||
})
|
||||
|
||||
Name (_PRS, ResourceTemplate()
|
||||
{
|
||||
StartDependentFn (0, 0) {
|
||||
IRQ (Edge, ActiveHigh, Exclusive) {12}
|
||||
}
|
||||
EndDependentFn ()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
@@ -24,16 +24,6 @@ Device (SIO) {
|
||||
FixedIO (0x64, 0x01)
|
||||
IRQNoFlags () {1}
|
||||
})
|
||||
|
||||
Name (_PRS, ResourceTemplate()
|
||||
{
|
||||
StartDependentFn (0, 0) {
|
||||
FixedIO (0x60, 0x01)
|
||||
FixedIO (0x64, 0x01)
|
||||
IRQNoFlags () {1}
|
||||
}
|
||||
EndDependentFn ()
|
||||
})
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
@@ -25,17 +25,6 @@ Device (SIO)
|
||||
FixedIO (0x64, 0x01)
|
||||
IRQNoFlags () {1}
|
||||
})
|
||||
|
||||
Name (_PRS, ResourceTemplate()
|
||||
{
|
||||
StartDependentFn (0, 0)
|
||||
{
|
||||
FixedIO (0x60, 0x01)
|
||||
FixedIO (0x64, 0x01)
|
||||
IRQNoFlags () {1}
|
||||
}
|
||||
EndDependentFn ()
|
||||
})
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -55,17 +44,6 @@ Device (SIO)
|
||||
FixedIO (0x64, 0x01)
|
||||
IRQNoFlags () {12}
|
||||
})
|
||||
|
||||
Name (_PRS, ResourceTemplate()
|
||||
{
|
||||
StartDependentFn (0, 0)
|
||||
{
|
||||
FixedIO (0x60, 0x01)
|
||||
FixedIO (0x64, 0x01)
|
||||
IRQNoFlags () {12}
|
||||
}
|
||||
EndDependentFn ()
|
||||
})
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user