From 13367490b0eb4cae5295d4def6d8a942d60aea8c Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Tue, 10 Jul 2018 18:33:26 -0700 Subject: mb/google/octopus: Enable TBMC device only for phaser Enabling of TBMC device on AP side requires corresponding support on the EC side as well. Since not all octopus variants have tablet mode support enabled, this change enables TBMC device only for phaser. BUG=b:111264961 Change-Id: I1ce181baa8ebaff0a9d767e97ddc256eef9789e8 Signed-off-by: Furquan Shaikh Reviewed-on: https://review.coreboot.org/27429 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Jett Rink Reviewed-by: Justin TerAvest --- src/mainboard/google/octopus/variants/baseboard/include/baseboard/ec.h | 3 --- src/mainboard/google/octopus/variants/phaser/include/variant/ec.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/mainboard/google/octopus/variants/baseboard/include/baseboard/ec.h b/src/mainboard/google/octopus/variants/baseboard/include/baseboard/ec.h index 33988758b8..471495aa80 100644 --- a/src/mainboard/google/octopus/variants/baseboard/include/baseboard/ec.h +++ b/src/mainboard/google/octopus/variants/baseboard/include/baseboard/ec.h @@ -67,9 +67,6 @@ #define EC_ENABLE_LID_SWITCH #define EC_ENABLE_WAKE_PIN GPE_EC_WAKE -/* Enable Tablet switch */ -#define EC_ENABLE_TBMC_DEVICE - /* Enable EC backed PD MCU device in ACPI */ #define EC_ENABLE_PD_MCU_DEVICE diff --git a/src/mainboard/google/octopus/variants/phaser/include/variant/ec.h b/src/mainboard/google/octopus/variants/phaser/include/variant/ec.h index 16f931b6cd..48cb5841d2 100644 --- a/src/mainboard/google/octopus/variants/phaser/include/variant/ec.h +++ b/src/mainboard/google/octopus/variants/phaser/include/variant/ec.h @@ -18,4 +18,7 @@ #include +/* Enable Tablet switch */ +#define EC_ENABLE_TBMC_DEVICE + #endif -- cgit v1.2.3