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:
parent
244675d7bc
commit
96a400ebc8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue