From c36e8bf24fdc42808be57336d7fcfb36c161859a Mon Sep 17 00:00:00 2001 From: Amanda Huang Date: Wed, 5 Sep 2018 09:56:50 +0800 Subject: mb/google/octopus: Enable TBMC device This change enables tablet mode ACPI device for all octopus boards. BUG=b:113348027 Change-Id: I69a5dd41cd0958b93f8eed338fed4b6ee77a178f Signed-off-by: Amanda Huang Reviewed-on: https://review.coreboot.org/28466 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Furquan Shaikh --- src/mainboard/google/octopus/variants/baseboard/include/baseboard/ec.h | 3 +++ src/mainboard/google/octopus/variants/phaser/include/variant/ec.h | 3 --- src/mainboard/google/octopus/variants/yorp/include/variant/ec.h | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'src/mainboard/google') 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 471495aa80..33988758b8 100644 --- a/src/mainboard/google/octopus/variants/baseboard/include/baseboard/ec.h +++ b/src/mainboard/google/octopus/variants/baseboard/include/baseboard/ec.h @@ -67,6 +67,9 @@ #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 48cb5841d2..16f931b6cd 100644 --- a/src/mainboard/google/octopus/variants/phaser/include/variant/ec.h +++ b/src/mainboard/google/octopus/variants/phaser/include/variant/ec.h @@ -18,7 +18,4 @@ #include -/* Enable Tablet switch */ -#define EC_ENABLE_TBMC_DEVICE - #endif diff --git a/src/mainboard/google/octopus/variants/yorp/include/variant/ec.h b/src/mainboard/google/octopus/variants/yorp/include/variant/ec.h index 48cb5841d2..16f931b6cd 100644 --- a/src/mainboard/google/octopus/variants/yorp/include/variant/ec.h +++ b/src/mainboard/google/octopus/variants/yorp/include/variant/ec.h @@ -18,7 +18,4 @@ #include -/* Enable Tablet switch */ -#define EC_ENABLE_TBMC_DEVICE - #endif -- cgit v1.2.3