chromeec: Decouple EC tablet event and TBMC device
commitc96ad868d4ad869523b615d90fb0bea4bd6d4ef6
authorFurquan Shaikh <furquan@chromium.org>
Fri, 26 Jan 2018 18:40:09 +0000 (26 10:40 -0800)
committerFurquan Shaikh <furquan@google.com>
Tue, 30 Jan 2018 20:20:36 +0000 (30 20:20 +0000)
tree76e5bdfdb499f702c86d7e72ad95fb2e852dae21
parentec91dd8feb16ea89d5a5d35b701bca09d1200afa
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 <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/23461
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
src/ec/google/chromeec/acpi/ec.asl
src/mainboard/google/eve/ec.h
src/mainboard/google/poppy/variants/nautilus/include/variant/ec.h
src/mainboard/google/reef/variants/baseboard/include/baseboard/ec.h