soc/intel/skylake: make tcc_offset take effect

Currently, "tcc_offset" defined in devicetree is overwritten by
Intel FSP-S UPD "TccActivationOffset".

This patch will make "TccActivationOffset" refer to "tcc_offset".

TEST=check if MSR (0x1a2[29:24]) value is updated with "tcc_offset"
     by iotools (rdmsr 0 0x1a2).

Change-Id: Ibc6f33bea19a1d59bc7e407815210942b38f0702
Signed-off-by: marxwang <marx.wang@intel.com>
Reviewed-on: https://review.coreboot.org/22818
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
marxwang 2017-12-11 14:57:49 +08:00 committed by Aaron Durbin
parent 1156c6656a
commit ec5a947b44
1 changed files with 3 additions and 0 deletions

View File

@ -290,6 +290,9 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
/* Enable/Disable EIST */
tconfig->Eist = config->eist_enable;
/* Set TccActivationOffset */
tconfig->TccActivationOffset = config->tcc_offset;
soc_irq_settings(params);
}