aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/acpi/dptf/thermal.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/baytrail/acpi/dptf/thermal.asl')
-rw-r--r--src/soc/intel/baytrail/acpi/dptf/thermal.asl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/baytrail/acpi/dptf/thermal.asl b/src/soc/intel/baytrail/acpi/dptf/thermal.asl
index d84ae4b040..106cd77015 100644
--- a/src/soc/intel/baytrail/acpi/dptf/thermal.asl
+++ b/src/soc/intel/baytrail/acpi/dptf/thermal.asl
@@ -14,6 +14,8 @@
/* Thermal Threshold Event Handler */
#define HAVE_THERM_EVENT_HANDLER
+
+#if CONFIG(EC_SUPPORTS_DPTF_TEVT)
Method (TEVT, 1, NotSerialized)
{
Store (ToInteger (Arg0), Local0)
@@ -34,6 +36,7 @@ Method (TEVT, 1, NotSerialized)
}
#endif
}
+#endif
/* Thermal device initialization - Disable Aux Trip Points */
Method (TINI)