summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2023-11-05 17:12:43 +0800
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-11-08 04:37:11 +0000
commit0fd61e67a04b38d43be7d4b0402d0382a2da5013 (patch)
treeb1016bfda60b1647671ab5357ccba5aa6212b998 /src/mainboard
parentc7120e38e784cf760c08044fe4671f1be1b0b06d (diff)
mb/hp/elitebook_820_g2: do not set EC SLPT on S5
Setting EC SLPT bit in S5 will make HP EliteBook 820 G2 fail to reboot under Linux 6.1 and later kernel versions. Change-Id: I48f5a35cd78db3b32d9f76cb8e266c738da34e7c Signed-off-by: Iru Cai <mytbk920423@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78907 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/hp/elitebook_820_g2/acpi/platform.asl5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mainboard/hp/elitebook_820_g2/acpi/platform.asl b/src/mainboard/hp/elitebook_820_g2/acpi/platform.asl
index 8023ae826c..d17f575c40 100644
--- a/src/mainboard/hp/elitebook_820_g2/acpi/platform.asl
+++ b/src/mainboard/hp/elitebook_820_g2/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
+ }
}