From 59cf5028a85b2696ce2dc12b857c886cb05e9671 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Fri, 23 Sep 2016 16:08:21 -0500 Subject: mainboards/google/reef: use chromeec's ASL lid switch implementation Defer to the lid switch implementation provided by the chromeec. BUG=chrome-os-partner:56677 Change-Id: Ida451dc29c8cf55fb88015e48a9e0bca3740f645 Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/16733 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/mainboard/google/reef/variants/baseboard/include/baseboard/ec.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mainboard/google/reef/variants/baseboard/include') diff --git a/src/mainboard/google/reef/variants/baseboard/include/baseboard/ec.h b/src/mainboard/google/reef/variants/baseboard/include/baseboard/ec.h index f2be328aa0..87c127c3d8 100644 --- a/src/mainboard/google/reef/variants/baseboard/include/baseboard/ec.h +++ b/src/mainboard/google/reef/variants/baseboard/include/baseboard/ec.h @@ -16,6 +16,7 @@ #ifndef BASEBOARD_EC_H #define BASEBOARD_EC_H +#include #include #define MAINBOARD_EC_SCI_EVENTS \ @@ -64,6 +65,10 @@ /* Enable EC backed PD MCU device in ACPI */ #define EC_ENABLE_PD_MCU_DEVICE +/* Enable LID switch and provide wake pin for EC */ +#define EC_ENABLE_LID_SWITCH +#define EC_ENABLE_WAKE_PIN GPE_EC_WAKE + #define SIO_EC_MEMMAP_ENABLE /* EC Memory Map Resources */ #define SIO_EC_HOST_ENABLE /* EC Host Interface Resources */ #define SIO_EC_ENABLE_PS2K /* Enable PS/2 Keyboard */ -- cgit v1.2.3