summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/jasperlake/chip.h7
-rw-r--r--src/soc/intel/jasperlake/romstage/fsp_params.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/src/soc/intel/jasperlake/chip.h b/src/soc/intel/jasperlake/chip.h
index d8ea560dfa..e5e10e3c94 100644
--- a/src/soc/intel/jasperlake/chip.h
+++ b/src/soc/intel/jasperlake/chip.h
@@ -284,6 +284,13 @@ struct soc_intel_jasperlake_config {
*/
uint8_t cpu_ratio_override;
+ /* Skip CPU replacement check
+ * 0: disable
+ * 1: enable
+ * Setting this option to skip CPU replacement check to avoid the forced MRC training
+ * for the platforms with soldered down SOC.
+ */
+ uint8_t SkipCpuReplacementCheck;
};
typedef struct soc_intel_jasperlake_config config_t;
diff --git a/src/soc/intel/jasperlake/romstage/fsp_params.c b/src/soc/intel/jasperlake/romstage/fsp_params.c
index 6d4055ab51..0688eea3a4 100644
--- a/src/soc/intel/jasperlake/romstage/fsp_params.c
+++ b/src/soc/intel/jasperlake/romstage/fsp_params.c
@@ -114,6 +114,9 @@ static void soc_memory_init_params(FSP_M_CONFIG *m_cfg,
ARRAY_SIZE(config->PchHdaAudioLinkSndwEnable), "copy buffer overflow!");
memcpy(m_cfg->PchHdaAudioLinkSndwEnable, config->PchHdaAudioLinkSndwEnable,
sizeof(config->PchHdaAudioLinkSndwEnable));
+
+ /* Skip the CPU replacement check */
+ m_cfg->SkipCpuReplacementCheck = config->SkipCpuReplacementCheck;
}
void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version)