aboutsummaryrefslogtreecommitdiff
path: root/src/ec/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google')
-rw-r--r--src/ec/google/chromeec/Kconfig1
-rw-r--r--src/ec/google/wilco/Kconfig1
-rw-r--r--src/ec/google/wilco/acpi/dptf.asl2
3 files changed, 4 insertions, 0 deletions
diff --git a/src/ec/google/chromeec/Kconfig b/src/ec/google/chromeec/Kconfig
index 2eb3b95c7d..b33864f09e 100644
--- a/src/ec/google/chromeec/Kconfig
+++ b/src/ec/google/chromeec/Kconfig
@@ -1,5 +1,6 @@
config EC_GOOGLE_CHROMEEC
bool
+ select EC_SUPPORTS_DPTF_TEVT
help
Google's Chrome EC
diff --git a/src/ec/google/wilco/Kconfig b/src/ec/google/wilco/Kconfig
index 25d7cfafc2..ee7b556551 100644
--- a/src/ec/google/wilco/Kconfig
+++ b/src/ec/google/wilco/Kconfig
@@ -3,6 +3,7 @@ config EC_GOOGLE_WILCO
default n
select EC_GOOGLE_COMMON_MEC
select EC_ACPI
+ select EC_SUPPORTS_DPTF_TEVT
help
Google Wilco Embedded Controller interface.
diff --git a/src/ec/google/wilco/acpi/dptf.asl b/src/ec/google/wilco/acpi/dptf.asl
index 0f1663f714..42fc9fdeed 100644
--- a/src/ec/google/wilco/acpi/dptf.asl
+++ b/src/ec/google/wilco/acpi/dptf.asl
@@ -115,8 +115,10 @@ Method (PATX, 0, Serialized)
/* Handle bits that are set */
While (FindSetRightBit (Local1, Local2))
{
+#ifdef HAVE_THERM_EVENT_HANDLER
/* DPTF will Notify sensor devices */
\_SB.DPTF.TEVT (Local2)
+#endif
/* Clear current sensor number */
Local1 &= ~(1 << (Local2 - 1))