summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-10-15 15:04:58 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-10-16 14:06:33 +0000
commit9a4ca626d8e486a3a2bf294895052e6a3c8f0ded (patch)
treebe95764bece67f85780c98c41f0f022f05544a25 /src/mainboard
parent37871c85f6e56d8a98342e5ccea690e152540294 (diff)
downloadcoreboot-9a4ca626d8e486a3a2bf294895052e6a3c8f0ded.tar.xz
mb/lenovo/x201: Fix Linux shutting down on s3 resume
On some configuration coreboot boots too fast and the EC reports the max temperature, resulting in Linux shutting down immediately. Change-Id: I610c7c9fbf2130566d3c2c758f1796314d3a0973 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36059 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/lenovo/x201/acpi/platform.asl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x201/acpi/platform.asl b/src/mainboard/lenovo/x201/acpi/platform.asl
index 167fe03d9b..685c6abfe6 100644
--- a/src/mainboard/lenovo/x201/acpi/platform.asl
+++ b/src/mainboard/lenovo/x201/acpi/platform.asl
@@ -59,6 +59,10 @@ Method(_PTS,1)
Method(_WAK,1)
{
+ /* ME may not be up yet. */
+ Store (0, \_TZ.MEB1)
+ Store (0, \_TZ.MEB2)
+
/* Wake the HKEY to init BT/WWAN */
\_SB.PCI0.LPCB.EC.HKEY.WAKE (Arg0)