[coreboot-gerrit] New patch to review for coreboot: d786f4a lenovo/t520: Apply ME workaround for S3 resume

Nicolas Reinecke (nr@das-labor.org) gerrit at coreboot.org
Fri Oct 17 15:39:48 CEST 2014


Nicolas Reinecke (nr at das-labor.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7102

-gerrit

commit d786f4a0a56c335b280c0f1847abf1cbda59f08e
Author: Nicolas Reinecke <nr at das-labor.org>
Date:   Fri Oct 17 15:09:05 2014 +0200

    lenovo/t520: Apply ME workaround for S3 resume
    
    Without this patch the laptop powers down after resume.
    
    Change-Id: Ic6486fd4c4cc55b1ac5695f9d6d83fc2193b7eba
    Signed-off-by: Nicolas Reinecke <nr at das-labor.org>
---
 src/mainboard/lenovo/t520/acpi/platform.asl | 6 +++++-
 src/mainboard/lenovo/t520/dsdt.asl          | 1 +
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/mainboard/lenovo/t520/acpi/platform.asl b/src/mainboard/lenovo/t520/acpi/platform.asl
index 5466bed..f937dc5 100644
--- a/src/mainboard/lenovo/t520/acpi/platform.asl
+++ b/src/mainboard/lenovo/t520/acpi/platform.asl
@@ -68,6 +68,10 @@ Method(_PTS,1)
 
 Method(_WAK,1)
 {
-	/* Not implemented.  */
+	/* ME may not be up yet. */
+	Store (0, \_TZ.MEB1)
+	Store (0, \_TZ.MEB2)
+
+	/* Not implemented. */
 	Return(Package(){0,0})
 }
diff --git a/src/mainboard/lenovo/t520/dsdt.asl b/src/mainboard/lenovo/t520/dsdt.asl
index e48a590..b6b4b33 100644
--- a/src/mainboard/lenovo/t520/dsdt.asl
+++ b/src/mainboard/lenovo/t520/dsdt.asl
@@ -24,6 +24,7 @@
 #define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.LCD0.DECB
 #define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
 #define RP04_IS_EXPRESSCARD 1
+#define EC_LENOVO_H8_ME_WORKAROUND 1
 #define HAVE_LCD_SCREEN 1
 
 DefinitionBlock(



More information about the coreboot-gerrit mailing list