soc/intel/skylake: Enable PCH thermal depending on devicetree
Hook up PCH thermal subsystem configuration to devicetree. Change-Id: I84bac2cec079370370ecf1e5e4742e6704921d40 Signed-off-by: Benjamin Doron <benjamin.doron00@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47116 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
This commit is contained in:
committed by
Michael Niewöhner
parent
136380fcac
commit
ac6565279c
@@ -295,6 +295,8 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
||||
|
||||
dev = pcidev_path_on_root(SA_DEVFN_TS);
|
||||
params->Device4Enable = dev && dev->enabled;
|
||||
dev = pcidev_path_on_root(PCH_DEVFN_THERMAL);
|
||||
params->PchThermalDeviceEnable = dev && dev->enabled;
|
||||
params->EnableTcoTimer = !config->PmTimerDisabled;
|
||||
|
||||
tconfig->PchLockDownGlobalSmi = config->LockDownConfigGlobalSmi;
|
||||
|
Reference in New Issue
Block a user