Submitter | Sven Schnelle |
---|---|
Date | 2011-03-15 08:41:12 |
Message ID | <1300178472-7948-2-git-send-email-svens@stackframe.org> |
Download | mbox | patch |
Permalink | /patch/2784/ |
State | Accepted |
Commit | r6448 |
Headers | show |
Comments
Sven Schnelle wrote: > Signed-off-by: Sven Schnelle <svens@stackframe.org> Acked-by: Peter Stuge <peter@stuge.se>
Patch
diff --git a/src/mainboard/lenovo/x60/acpi/ec.asl b/src/mainboard/lenovo/x60/acpi/ec.asl index ec5c6ab..7e2b94d 100644 --- a/src/mainboard/lenovo/x60/acpi/ec.asl +++ b/src/mainboard/lenovo/x60/acpi/ec.asl @@ -37,6 +37,8 @@ Device(EC) Offset (0x3B), , 1, KBLT, 1, /* Keyboard Light */ + Offset (0x4e), + WAKE, 16, Offset (0x78), TMP0, 8, /* Thermal Zone 0 temperature */ TMP1, 8, /* Thermal Zone 1 temperature */ diff --git a/src/mainboard/lenovo/x60/acpi/gpe.asl b/src/mainboard/lenovo/x60/acpi/gpe.asl index e69de29..1c5d1bd 100644 --- a/src/mainboard/lenovo/x60/acpi/gpe.asl +++ b/src/mainboard/lenovo/x60/acpi/gpe.asl @@ -0,0 +1,8 @@ +Scope (\_GPE) +{ + Method(_L18, 0, NotSerialized) + { + /* Read EC register to clear wake status */ + Store(\_SB.PCI0.LPCB.EC.WAKE, Local0) + } +}
Signed-off-by: Sven Schnelle <svens@stackframe.org> --- src/mainboard/lenovo/x60/acpi/ec.asl | 2 ++ src/mainboard/lenovo/x60/acpi/gpe.asl | 8 ++++++++ 2 files changed, 10 insertions(+), 0 deletions(-)