summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorAmanda Huang <amanda_hwang@compal.corp-partner.google.com>2018-09-05 09:56:50 +0800
committerAaron Durbin <adurbin@chromium.org>2018-09-06 03:54:51 +0000
commitc36e8bf24fdc42808be57336d7fcfb36c161859a (patch)
tree60ab5362bb238555ca6c0673077ba90bbe7b5761 /src/mainboard
parent11f7298249837507832c7b08f6c773dcf89d47f3 (diff)
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 <amanda_hwang@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/28466 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/octopus/variants/baseboard/include/baseboard/ec.h3
-rw-r--r--src/mainboard/google/octopus/variants/phaser/include/variant/ec.h3
-rw-r--r--src/mainboard/google/octopus/variants/yorp/include/variant/ec.h3
3 files changed, 3 insertions, 6 deletions
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 <baseboard/ec.h>
-/* 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 <baseboard/ec.h>
-/* Enable Tablet switch */
-#define EC_ENABLE_TBMC_DEVICE
-
#endif