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:
Nico Huber 2021-07-26 14:24:53 +00:00 committed by Paul Fagerburg
parent 6ac8a9f826
commit e4bc55b843
1 changed files with 1 additions and 0 deletions

View File

@ -611,6 +611,7 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
/* Set TccActivationOffset */
tconfig->TccActivationOffset = config->tcc_offset;
tconfig->TccOffsetClamp = config->tcc_offset > 0;
/* Unlock all GPIO pads */
tconfig->PchUnlockGpioPads = config->PchUnlockGpioPads;