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
This commit is contained in:
Sven Schnelle 2011-03-15 09:52:17 +00:00
parent f9a0b927f5
commit 08827287d6
2 changed files with 10 additions and 0 deletions

View File

@ -37,6 +37,8 @@ Device(EC)
Offset (0x3B), Offset (0x3B),
, 1, , 1,
KBLT, 1, /* Keyboard Light */ KBLT, 1, /* Keyboard Light */
Offset (0x4e),
WAKE, 16,
Offset (0x78), Offset (0x78),
TMP0, 8, /* Thermal Zone 0 temperature */ TMP0, 8, /* Thermal Zone 0 temperature */
TMP1, 8, /* Thermal Zone 1 temperature */ TMP1, 8, /* Thermal Zone 1 temperature */

View File

@ -0,0 +1,8 @@
Scope (\_GPE)
{
Method(_L18, 0, NotSerialized)
{
/* Read EC register to clear wake status */
Store(\_SB.PCI0.LPCB.EC.WAKE, Local0)
}
}