soc/intel/skylake: Enable thermal subsystem depending on devicetree
Currently SA thermal subsystem gets enabled by the option Device4Enable, but this duplicates the devicetree on/off options. Therefore depend on the devicetree for enablement of the SA thermal subsystem controller. All corresponding mainboards were checked if the devicetree configuration matches the Device4Enable setting, and missing entries were added. Change-Id: I7553716d52743c3e8d82891b2de14c52c6d8ef16 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44026 Reviewed-by: Michael Niewöhner Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Michael Niewöhner
parent
c787a246f9
commit
9c1c00968c
@@ -278,7 +278,9 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
||||
params->PchHdaVcType = config->PchHdaVcType;
|
||||
params->PchHdaIoBufferOwnership = config->IoBufferOwnership;
|
||||
params->PchHdaDspEnable = config->DspEnable;
|
||||
params->Device4Enable = config->Device4Enable;
|
||||
|
||||
dev = pcidev_path_on_root(SA_DEVFN_TS);
|
||||
params->Device4Enable = dev && dev->enabled;
|
||||
params->EnableTcoTimer = !config->PmTimerDisabled;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user