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:
@@ -101,6 +101,20 @@ Device(EC)
|
|||||||
{
|
{
|
||||||
return(LIDS)
|
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)
|
Device(AC)
|
||||||
|
Reference in New Issue
Block a user