diff options
author | Aaron Durbin <adurbin@chromium.org> | 2014-05-13 09:23:10 -0500 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-05-13 20:59:38 +0200 |
commit | b3ce6586085f11412ab58852153c18678c330a3e (patch) | |
tree | 0eb67f2e89e89f54b45e705ac5597c6007241f58 /src/ec/google | |
parent | a36d60af1ab93945bd216ec3b698f9358840cd96 (diff) | |
download | coreboot-b3ce6586085f11412ab58852153c18678c330a3e.tar.xz |
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@chromium.org>
Reviewed-on: http://review.coreboot.org/5726
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/ec/google')
-rw-r--r-- | src/ec/google/chromeec/acpi/ec.asl | 4 |
1 files changed, 4 insertions, 0 deletions
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) } |