soc/intel/skylake/acpi/dptf: Disable DTRP when no DPTF_TSRX_SENSOR_ID is defined
On mainboards without DPTF_TSRX_SENSOR_ID method DTRP is never called Only add the DTRP method when at least one sensor is enabled. BUG=N/A TEST=build Change-Id: I4fb26d5bbb7b334e759e7073b680f830f412467e Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36856 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
bd3ac9c0b0
commit
dc7b2de88b
|
@ -75,6 +75,7 @@ Method (TPET)
|
|||
#endif
|
||||
}
|
||||
|
||||
#if defined(DPTF_TSR0_SENSOR_ID) || defined(DPTF_TSR1_SENSOR_ID) || defined(DPTF_TSR2_SENSOR_ID)
|
||||
/*
|
||||
* Method to return trip temperature value depending upon the device mode.
|
||||
* Arg0 --> Value to return when device is in tablet mode
|
||||
|
@ -92,6 +93,7 @@ Method (DTRP, 2, Serialized)
|
|||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef DPTF_TSR0_SENSOR_ID
|
||||
|
||||
|
|
Loading…
Reference in New Issue