From 0e4ca759f401d7f60d7b14dbaf0c6cb3955b8f2c Mon Sep 17 00:00:00 2001 From: Rob Barnes Date: Fri, 15 Apr 2022 11:23:04 -0600 Subject: mb/google/guybrush: Remove EC_ENABLE_LID_SWITCH Remove EC_ENABLE_LID_SWITCH since this causes a duplicate SW_LID entries. The other SW_LID entry is generated by MKBP. BUG=b:228907256 BRANCH=guybrush TEST=Lid open close triggers events on Nipperkin Change-Id: I5c1cf7aeac8405bce7bfc77110eceaf3e5383fe7 Signed-off-by: Rob Barnes Reviewed-on: https://review.coreboot.org/c/coreboot/+/63658 Tested-by: build bot (Jenkins) Reviewed-by: Robert Zieba Reviewed-by: Jon Murphy Reviewed-by: Karthik Ramasubramanian --- .../google/guybrush/variants/baseboard/include/baseboard/ec.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mainboard/google/guybrush/variants/baseboard/include') diff --git a/src/mainboard/google/guybrush/variants/baseboard/include/baseboard/ec.h b/src/mainboard/google/guybrush/variants/baseboard/include/baseboard/ec.h index 5695a8e056..34e2eddd58 100644 --- a/src/mainboard/google/guybrush/variants/baseboard/include/baseboard/ec.h +++ b/src/mainboard/google/guybrush/variants/baseboard/include/baseboard/ec.h @@ -57,8 +57,7 @@ /* Enable MKBP for buttons and switches */ #define EC_ENABLE_MKBP_DEVICE -/* Enable LID switch and provide wake pin for EC */ -#define EC_ENABLE_LID_SWITCH +/* Provide wake pin for EC */ #define EC_ENABLE_WAKE_PIN GEVENT_3 /* AGPIO 22 -> GPE 3 */ #define SIO_EC_MEMMAP_ENABLE /* EC Memory Map Resources */ -- cgit v1.2.3