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>
This commit is contained in:
parent
a36d60af1a
commit
b3ce658608
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue