mb/hp/xxx0p: set ACPI and SLPT bit in _WAK and _PTS
ACPI bit is not set after an S3 resume, so set it in _WAK. Setting SLPT bit can make the power LED blink in S3. Change-Id: I2badc69510275df57938cb8607b3c4e0df50f028 Signed-off-by: Iru Cai <mytbk920423@gmail.com> Reviewed-on: https://review.coreboot.org/22929 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
parent
1208391edd
commit
2ff25f5179
|
@ -15,9 +15,13 @@
|
|||
|
||||
Method(_WAK,1)
|
||||
{
|
||||
\_SB.PCI0.LPCB.EC0.ACPI = 1
|
||||
\_SB.PCI0.LPCB.EC0.SLPT = 0
|
||||
|
||||
Return(Package(){0,0})
|
||||
}
|
||||
|
||||
Method(_PTS,1)
|
||||
{
|
||||
\_SB.PCI0.LPCB.EC0.SLPT = Arg0
|
||||
}
|
||||
|
|
|
@ -15,9 +15,13 @@
|
|||
|
||||
Method(_WAK,1)
|
||||
{
|
||||
\_SB.PCI0.LPCB.EC0.ACPI = 1
|
||||
\_SB.PCI0.LPCB.EC0.SLPT = 0
|
||||
|
||||
Return(Package(){0,0})
|
||||
}
|
||||
|
||||
Method(_PTS,1)
|
||||
{
|
||||
\_SB.PCI0.LPCB.EC0.SLPT = Arg0
|
||||
}
|
||||
|
|
|
@ -15,9 +15,13 @@
|
|||
|
||||
Method(_WAK,1)
|
||||
{
|
||||
\_SB.PCI0.LPCB.EC0.ACPI = 1
|
||||
\_SB.PCI0.LPCB.EC0.SLPT = 0
|
||||
|
||||
Return(Package(){0,0})
|
||||
}
|
||||
|
||||
Method(_PTS,1)
|
||||
{
|
||||
\_SB.PCI0.LPCB.EC0.SLPT = Arg0
|
||||
}
|
||||
|
|
|
@ -15,9 +15,13 @@
|
|||
|
||||
Method(_WAK,1)
|
||||
{
|
||||
\_SB.PCI0.LPCB.EC0.ACPI = 1
|
||||
\_SB.PCI0.LPCB.EC0.SLPT = 0
|
||||
|
||||
Return(Package(){0,0})
|
||||
}
|
||||
|
||||
Method(_PTS,1)
|
||||
{
|
||||
\_SB.PCI0.LPCB.EC0.SLPT = Arg0
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue