summaryrefslogtreecommitdiffstats
path: root/src/mainboard
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2021-04-03 22:03:33 +0800
committerAngel Pons <th3fanbus@gmail.com>2021-04-26 13:26:57 +0000
commitcf730ce481a5d38611de68ef1dfe5fb3d51c275a (patch)
tree5305bde5127844f511869e7adec79079d06c6335 /src/mainboard
parenta4c09c51d0f55e9793cab389b0afc5fe35a1ca0e (diff)
downloadcoreboot-cf730ce481a5d38611de68ef1dfe5fb3d51c275a.tar.gz
coreboot-cf730ce481a5d38611de68ef1dfe5fb3d51c275a.tar.bz2
coreboot-cf730ce481a5d38611de68ef1dfe5fb3d51c275a.zip
mb/hp/snb_ivb_laptops: Do not set EC SLPT on S5
Linux kernel now uses S5 for reboot, which makes reboot fail if EC SLPT bit is set. Tested on HP EliteBook 2560p, reboot and S3 resume work after this change. Change-Id: I9b3ea737f85cc4045714263657bcdaac08f3a20d Signed-off-by: Iru Cai <mytbk920423@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/52089 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/hp/snb_ivb_laptops/acpi/platform.asl5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mainboard/hp/snb_ivb_laptops/acpi/platform.asl b/src/mainboard/hp/snb_ivb_laptops/acpi/platform.asl
index 8023ae826c8a..d17f575c40ec 100644
--- a/src/mainboard/hp/snb_ivb_laptops/acpi/platform.asl
+++ b/src/mainboard/hp/snb_ivb_laptops/acpi/platform.asl
@@ -10,5 +10,8 @@ Method(_WAK,1)
Method(_PTS,1)
{
- \_SB.PCI0.LPCB.EC0.SLPT = Arg0
+ If (Arg0 != 5)
+ {
+ \_SB.PCI0.LPCB.EC0.SLPT = Arg0
+ }
}