soc/intel/jasperlake: Add the SkipCpuReplacementCheck configuration
Add SkipCpuReplacementCheck config to control the FSPM UPD used for skipping the CPU replacementment check to avoid the forced MRC training for the platforms with soldered down SOC. BUG=b:160201335 TEST=Build and verify CSE Lite SKU on Waddleddo. Cq-Depend: chrome-internal:3142530 Change-Id: I63fcdab3686322406cf7c24fc26cbb535cc58c8d Signed-off-by: V Sowmya <v.sowmya@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42453 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Sridhar Siricilla <sridhar.siricilla@intel.com> Reviewed-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
This commit is contained in:
parent
df96d4db84
commit
e8156ad981
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue