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:
Iru Cai 2017-12-18 16:57:21 +08:00 committed by Arthur Heymans
parent 1208391edd
commit 2ff25f5179
4 changed files with 16 additions and 0 deletions

View File

@ -15,9 +15,13 @@
Method(_WAK,1) Method(_WAK,1)
{ {
\_SB.PCI0.LPCB.EC0.ACPI = 1
\_SB.PCI0.LPCB.EC0.SLPT = 0
Return(Package(){0,0}) Return(Package(){0,0})
} }
Method(_PTS,1) Method(_PTS,1)
{ {
\_SB.PCI0.LPCB.EC0.SLPT = Arg0
} }

View File

@ -15,9 +15,13 @@
Method(_WAK,1) Method(_WAK,1)
{ {
\_SB.PCI0.LPCB.EC0.ACPI = 1
\_SB.PCI0.LPCB.EC0.SLPT = 0
Return(Package(){0,0}) Return(Package(){0,0})
} }
Method(_PTS,1) Method(_PTS,1)
{ {
\_SB.PCI0.LPCB.EC0.SLPT = Arg0
} }

View File

@ -15,9 +15,13 @@
Method(_WAK,1) Method(_WAK,1)
{ {
\_SB.PCI0.LPCB.EC0.ACPI = 1
\_SB.PCI0.LPCB.EC0.SLPT = 0
Return(Package(){0,0}) Return(Package(){0,0})
} }
Method(_PTS,1) Method(_PTS,1)
{ {
\_SB.PCI0.LPCB.EC0.SLPT = Arg0
} }

View File

@ -15,9 +15,13 @@
Method(_WAK,1) Method(_WAK,1)
{ {
\_SB.PCI0.LPCB.EC0.ACPI = 1
\_SB.PCI0.LPCB.EC0.SLPT = 0
Return(Package(){0,0}) Return(Package(){0,0})
} }
Method(_PTS,1) Method(_PTS,1)
{ {
\_SB.PCI0.LPCB.EC0.SLPT = Arg0
} }