From c96ad868d4ad869523b615d90fb0bea4bd6d4ef6 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Fri, 26 Jan 2018 10:40:09 -0800 Subject: chromeec: Decouple EC tablet event and TBMC device This change decouples EC tablet event and TBMC device by guarding TBMC definition and notification using EC_ENABLE_TBMC_DEVICE. It allows mainboards to use tablet events without having to define a TBMC device. BUG=b:72554519 Change-Id: Ie38b6d68486e8e644dd0d6d406def3ae7fdb5152 Signed-off-by: Furquan Shaikh Reviewed-on: https://review.coreboot.org/23461 Tested-by: build bot (Jenkins) Reviewed-by: Duncan Laurie Reviewed-by: Aaron Durbin Reviewed-by: Sumeet R Pawnikar --- src/mainboard/google/poppy/variants/nautilus/include/variant/ec.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainboard/google/poppy') diff --git a/src/mainboard/google/poppy/variants/nautilus/include/variant/ec.h b/src/mainboard/google/poppy/variants/nautilus/include/variant/ec.h index ca9f865f19..70f12d5838 100644 --- a/src/mainboard/google/poppy/variants/nautilus/include/variant/ec.h +++ b/src/mainboard/google/poppy/variants/nautilus/include/variant/ec.h @@ -72,6 +72,7 @@ #define EC_ENABLE_LID_SWITCH #define EC_ENABLE_WAKE_PIN GPE_EC_WAKE #define EC_ENABLE_TABLET_EVENT +#define EC_ENABLE_TBMC_DEVICE #define SIO_EC_MEMMAP_ENABLE /* EC Memory Map Resources */ #define SIO_EC_HOST_ENABLE /* EC Host Interface Resources */ -- cgit v1.2.3