diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2014-08-18 01:12:36 +0200 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2014-08-19 20:33:14 +0200 |
commit | 96a400ebc82c95d3b5da9c1c35975ed782f96c4a (patch) | |
tree | ac606737fb63c0b458f12bc60b034a760224f866 /src | |
parent | 244675d7bc4509c4c7e6a7d3c497bc8d860caec8 (diff) | |
download | coreboot-96a400ebc82c95d3b5da9c1c35975ed782f96c4a.tar.xz |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/apple/macbook21/acpi/ec.asl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/apple/macbook21/acpi/ec.asl b/src/mainboard/apple/macbook21/acpi/ec.asl index 01bfb0c6a0..dc248b4799 100644 --- a/src/mainboard/apple/macbook21/acpi/ec.asl +++ b/src/mainboard/apple/macbook21/acpi/ec.asl @@ -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) |