From 96a400ebc82c95d3b5da9c1c35975ed782f96c4a Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 18 Aug 2014 01:12:36 +0200 Subject: macbook21: Support wake on LID Change-Id: Ifa1045abc761bef05977a8020cf6f18db042ad58 Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/6699 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Francis Rowe Reviewed-by: Edward O'Callaghan --- src/mainboard/apple/macbook21/acpi/ec.asl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src') 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) -- cgit v1.2.3