Author: svens Date: Tue Mar 15 10:52:17 2011 New Revision: 6448 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6448
Log: X60: Clear EC events when wake GPE is triggered Signed-off-by: Sven Schnelle <[email protected]> Acked-by: Peter Stuge <[email protected]> Modified: trunk/src/mainboard/lenovo/x60/acpi/ec.asl trunk/src/mainboard/lenovo/x60/acpi/gpe.asl Modified: trunk/src/mainboard/lenovo/x60/acpi/ec.asl ============================================================================== --- trunk/src/mainboard/lenovo/x60/acpi/ec.asl Tue Mar 15 10:52:07 2011 (r6447) +++ trunk/src/mainboard/lenovo/x60/acpi/ec.asl Tue Mar 15 10:52:17 2011 (r6448) @@ -37,6 +37,8 @@ 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 */ Modified: trunk/src/mainboard/lenovo/x60/acpi/gpe.asl ============================================================================== --- trunk/src/mainboard/lenovo/x60/acpi/gpe.asl Tue Mar 15 10:52:07 2011 (r6447) +++ trunk/src/mainboard/lenovo/x60/acpi/gpe.asl Tue Mar 15 10:52:17 2011 (r6448) @@ -0,0 +1,8 @@ +Scope (\_GPE) +{ + Method(_L18, 0, NotSerialized) + { + /* Read EC register to clear wake status */ + Store(\_SB.PCI0.LPCB.EC.WAKE, Local0) + } +} -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

