soc/intel/cannonlake: Disable `TccOffsetClamp` if no offset is given
Change-Id: I4f9b62fd944d8a91d53bc584c88797f23de1e5ca Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/56660 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
This commit is contained in:
parent
6ac8a9f826
commit
e4bc55b843
|
@ -611,6 +611,7 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
||||||
|
|
||||||
/* Set TccActivationOffset */
|
/* Set TccActivationOffset */
|
||||||
tconfig->TccActivationOffset = config->tcc_offset;
|
tconfig->TccActivationOffset = config->tcc_offset;
|
||||||
|
tconfig->TccOffsetClamp = config->tcc_offset > 0;
|
||||||
|
|
||||||
/* Unlock all GPIO pads */
|
/* Unlock all GPIO pads */
|
||||||
tconfig->PchUnlockGpioPads = config->PchUnlockGpioPads;
|
tconfig->PchUnlockGpioPads = config->PchUnlockGpioPads;
|
||||||
|
|
Loading…
Reference in New Issue