diff options
author | Sven Schnelle <svens@stackframe.org> | 2011-03-15 09:52:17 +0000 |
---|---|---|
committer | Sven Schnelle <svens@stackframe.org> | 2011-03-15 09:52:17 +0000 |
commit | 08827287d65faa50cdd7db96c41d830a48f07fce (patch) | |
tree | 906289833fd6d900910d2e8131ad95019d35236b /src/mainboard/lenovo/x60/acpi | |
parent | f9a0b927f5dceeba7bb1d1fff94569343da98835 (diff) | |
download | coreboot-08827287d65faa50cdd7db96c41d830a48f07fce.tar.xz |
X60: Clear EC events when wake GPE is triggered
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6448 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/lenovo/x60/acpi')
-rw-r--r-- | src/mainboard/lenovo/x60/acpi/ec.asl | 2 | ||||
-rw-r--r-- | src/mainboard/lenovo/x60/acpi/gpe.asl | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x60/acpi/ec.asl b/src/mainboard/lenovo/x60/acpi/ec.asl index ec5c6abf45..7e2b94d064 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 e69de29bb2..1c5d1bdfd8 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) + } +} |