diff options
author | Nicolas Reinecke <nr@das-labor.org> | 2014-10-17 15:09:05 +0200 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2014-10-17 17:26:46 +0200 |
commit | 85f2e12b4f1d66e723652a91e8765019e71f1c16 (patch) | |
tree | fa44a720aacbd1674c745def329ec78ac6f9a89f | |
parent | a9f429922212402d920007220c519a92ab4cbbb2 (diff) |
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@das-labor.org>
Reviewed-on: http://review.coreboot.org/7102
Tested-by: build bot (Jenkins)
Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com>
-rw-r--r-- | src/mainboard/lenovo/t520/acpi/platform.asl | 6 | ||||
-rw-r--r-- | src/mainboard/lenovo/t520/dsdt.asl | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/t520/acpi/platform.asl b/src/mainboard/lenovo/t520/acpi/platform.asl index 5466bedc44..f937dc552a 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 e48a5904bf..b6b4b332b5 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( |