summaryrefslogtreecommitdiff
path: root/src/mainboard/hp
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2017-12-18 16:57:21 +0800
committerArthur Heymans <arthur@aheymans.xyz>2017-12-19 23:28:06 +0000
commit2ff25f517974d51f01bfeb4abc10fe413d382f68 (patch)
treefedfb77a7738aa2d23b31e04bd536a7012dcb136 /src/mainboard/hp
parent1208391edda8bcfb36f379da49a0607a52f0a6d6 (diff)
downloadcoreboot-2ff25f517974d51f01bfeb4abc10fe413d382f68.tar.xz
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>
Diffstat (limited to 'src/mainboard/hp')
-rw-r--r--src/mainboard/hp/2570p/acpi/platform.asl4
-rw-r--r--src/mainboard/hp/2760p/acpi/platform.asl4
-rw-r--r--src/mainboard/hp/8460p/acpi/platform.asl4
-rw-r--r--src/mainboard/hp/8470p/acpi/platform.asl4
4 files changed, 16 insertions, 0 deletions
diff --git a/src/mainboard/hp/2570p/acpi/platform.asl b/src/mainboard/hp/2570p/acpi/platform.asl
index 79eddcb55d..fe0f936a61 100644
--- a/src/mainboard/hp/2570p/acpi/platform.asl
+++ b/src/mainboard/hp/2570p/acpi/platform.asl
@@ -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
}
diff --git a/src/mainboard/hp/2760p/acpi/platform.asl b/src/mainboard/hp/2760p/acpi/platform.asl
index 79eddcb55d..fe0f936a61 100644
--- a/src/mainboard/hp/2760p/acpi/platform.asl
+++ b/src/mainboard/hp/2760p/acpi/platform.asl
@@ -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
}
diff --git a/src/mainboard/hp/8460p/acpi/platform.asl b/src/mainboard/hp/8460p/acpi/platform.asl
index 79eddcb55d..fe0f936a61 100644
--- a/src/mainboard/hp/8460p/acpi/platform.asl
+++ b/src/mainboard/hp/8460p/acpi/platform.asl
@@ -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
}
diff --git a/src/mainboard/hp/8470p/acpi/platform.asl b/src/mainboard/hp/8470p/acpi/platform.asl
index 79eddcb55d..fe0f936a61 100644
--- a/src/mainboard/hp/8470p/acpi/platform.asl
+++ b/src/mainboard/hp/8470p/acpi/platform.asl
@@ -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
}