Pratikkumar V Prajapati has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45486 )
Change subject: soc/intel/tigerlake: Set TME USD based on config ......................................................................
soc/intel/tigerlake: Set TME USD based on config
Set TmeEnable FSP-M upd based on config.
Test: TME ENABLE and LOCK bits get set when Tme is enabled.
Signed-off-by: Pratik Prajapati pratikkumar.v.prajapati@intel.com Change-Id: Ia804c88057e17844f055fd852fc0b36cfe316432 --- M src/soc/intel/tigerlake/romstage/fsp_params.c 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/86/45486/1
diff --git a/src/soc/intel/tigerlake/romstage/fsp_params.c b/src/soc/intel/tigerlake/romstage/fsp_params.c index 2ba276d..70e322c 100644 --- a/src/soc/intel/tigerlake/romstage/fsp_params.c +++ b/src/soc/intel/tigerlake/romstage/fsp_params.c @@ -208,6 +208,9 @@ /* Skip CPU side PCIe enablement in FSP if device is disabled in devicetree */ dev = pcidev_path_on_root(SA_DEVFN_CPU_PCIE); m_cfg->CpuPcieRpEnableMask = dev && dev->enabled; + + /* Change TmeEnable UPD value according to ENABLE_TME Kconfig */ + m_cfg->TmeEnable = CONFIG(INTEL_TME); }
void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version)