summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ec/google/chromeec/acpi/ec.asl4
-rw-r--r--src/mainboard/google/eve/ec.h2
-rw-r--r--src/mainboard/google/poppy/variants/nautilus/include/variant/ec.h1
-rw-r--r--src/mainboard/google/reef/variants/baseboard/include/baseboard/ec.h2
4 files changed, 8 insertions, 1 deletions
diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl
index d295a8d580..618b00a79e 100644
--- a/src/ec/google/chromeec/acpi/ec.asl
+++ b/src/ec/google/chromeec/acpi/ec.asl
@@ -365,6 +365,8 @@ Device (EC0)
If (CondRefOf (\_SB.DPTF.TPET)) {
\_SB.DPTF.TPET()
}
+#endif
+#ifdef EC_ENABLE_TBMC_DEVICE
Notify (TBMC, 0x80)
#endif
}
@@ -517,7 +519,7 @@ Device (EC0)
#include "pd.asl"
#endif
-#ifdef EC_ENABLE_TABLET_EVENT
+#ifdef EC_ENABLE_TBMC_DEVICE
#include "tbmc.asl"
#endif
}
diff --git a/src/mainboard/google/eve/ec.h b/src/mainboard/google/eve/ec.h
index 81d591cb40..1b55248081 100644
--- a/src/mainboard/google/eve/ec.h
+++ b/src/mainboard/google/eve/ec.h
@@ -79,6 +79,8 @@
/* Enable Tablet switch */
#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 */
#define SIO_EC_ENABLE_PS2K /* Enable PS/2 Keyboard */
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 */
diff --git a/src/mainboard/google/reef/variants/baseboard/include/baseboard/ec.h b/src/mainboard/google/reef/variants/baseboard/include/baseboard/ec.h
index 1f91c1e6b9..ff32ff6b52 100644
--- a/src/mainboard/google/reef/variants/baseboard/include/baseboard/ec.h
+++ b/src/mainboard/google/reef/variants/baseboard/include/baseboard/ec.h
@@ -74,6 +74,8 @@
/* Enable Tablet switch */
#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 */
#define SIO_EC_ENABLE_PS2K /* Enable PS/2 Keyboard */