[coreboot-gerrit] New patch to review for coreboot: bcdf872 chrome ec: call DPTF thermal threshold event handler

Aaron Durbin (adurbin@google.com) gerrit at coreboot.org
Tue May 13 16:29:22 CEST 2014


Aaron Durbin (adurbin at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5726

-gerrit

commit bcdf872c2324fb0f23444dd5bea7052ddb1be267
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Tue May 13 09:23:10 2014 -0500

    chrome ec: call DPTF thermal threshold event handler
    
    When an EC thermal event occurs call the DPTF thermal threshold
    event handler to handle notifications.
    
    Change-Id: Ica928790bb478fccf8a46afef4eb7800589518b2
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
---
 src/ec/google/chromeec/acpi/ec.asl | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl
index 6e6646c..c931225 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)
 		}



More information about the coreboot-gerrit mailing list