From b3ce6586085f11412ab58852153c18678c330a3e Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Tue, 13 May 2014 09:23:10 -0500 Subject: chrome ec: call DPTF thermal threshold event handler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When an EC thermal event occurs call the DPTF thermal threshold event handler to handle notifications. Change-Id: Ica928790bb478fccf8a46afef4eb7800589518b2 Signed-off-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/5726 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/ec/google/chromeec/acpi/ec.asl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ec/google') diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl index 6e6646c62e..c931225677 100644 --- a/src/ec/google/chromeec/acpi/ec.asl +++ b/src/ec/google/chromeec/acpi/ec.asl @@ -379,6 +379,10 @@ Device (EC0) /* When sensor ID returns 0xFF then no more events */ While (LNotEqual (Local0, EC_TEMP_SENSOR_NOT_PRESENT)) { + If (CondRefOf (\_SB.DPTF.TEVT, Local1)) { + \_SB.DPTF.TEVT (Local0) + } + /* Keep reaading sensor ID for event */ Store (^PATI, Local0) } -- cgit v1.2.3