macbook21: Support wake on LID

Change-Id: Ifa1045abc761bef05977a8020cf6f18db042ad58
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/6699
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Francis Rowe <info@gluglug.org.uk>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
Vladimir Serbinenko 2014-08-18 01:12:36 +02:00
parent 244675d7bc
commit 96a400ebc8
1 changed files with 14 additions and 0 deletions

View File

@ -101,6 +101,20 @@ Device(EC)
{
return(LIDS)
}
Method(_PRW, 0, NotSerialized)
{
Return (Package() { 0x1d, 0x03 })
}
Method(_PSW, 1, NotSerialized)
{
if (Arg0) {
Store(1, WKLD)
} else {
Store(0, WKLD)
}
}
}
Device(AC)