From a57447da085ee0f534df0b9c73aac83aafb6f6e3 Mon Sep 17 00:00:00 2001 From: Lijian Zhao Date: Tue, 25 Sep 2018 14:27:50 -0700 Subject: [PATCH] soc/intel/cannonlake: Move SkipMpInit config to FSPM SkipMpInit UPD had ben moved from Fsp SiliconInit UPD to Fsp MemoryInit UPD, hence change the settings in coreboot side as well. The old options in SiliconInit get deprecated, so leave the code as is will be harmless. Make the changes limited to coffeelake itself. Change-Id: If968de78117068668e4f0006c412442c50658ba9 Signed-off-by: Lijian Zhao Reviewed-on: https://review.coreboot.org/28740 Reviewed-by: Duncan Laurie Tested-by: build bot (Jenkins) --- src/soc/intel/cannonlake/romstage/romstage.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/soc/intel/cannonlake/romstage/romstage.c b/src/soc/intel/cannonlake/romstage/romstage.c index ae1ba4d7d0..8bdabbf803 100644 --- a/src/soc/intel/cannonlake/romstage/romstage.c +++ b/src/soc/intel/cannonlake/romstage/romstage.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -175,6 +176,9 @@ static void soc_memory_init_params(FSP_M_CONFIG *m_cfg, const config_t *config) m_cfg->VmxEnable = 0; else m_cfg->VmxEnable = config->VmxEnable; +#if IS_ENABLED(CONFIG_SOC_INTEL_COFFEELAKE) + m_cfg->SkipMpInit = !chip_get_fsp_mp_init(); +#endif } void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version)