soc/intel/alderlake/fsp_params.c: Set DdrSpeedControl UPD
When override "max_dram_speed_mts", set the DdrSpeedControl to manual. (0:Auto, 1:Manual) BUG=b:229549930 BRANCH=none TEST=build coreboot without error Signed-off-by: Franklin Lin <franklin_lin@wistron.corp-partner.google.com> Change-Id: Iffbbee8082fb1a41e0ed1db3f4ea9ec4709c9ce7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65877 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@ -150,8 +150,10 @@ static void fill_fspm_mrc_params(FSP_M_CONFIG *m_cfg,
|
|||||||
{
|
{
|
||||||
m_cfg->SaGv = config->sagv;
|
m_cfg->SaGv = config->sagv;
|
||||||
m_cfg->RMT = config->RMT;
|
m_cfg->RMT = config->RMT;
|
||||||
if (config->max_dram_speed_mts)
|
if (config->max_dram_speed_mts) {
|
||||||
m_cfg->DdrFreqLimit = config->max_dram_speed_mts;
|
m_cfg->DdrFreqLimit = config->max_dram_speed_mts;
|
||||||
|
m_cfg->DdrSpeedControl = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void fill_fspm_cpu_params(FSP_M_CONFIG *m_cfg,
|
static void fill_fspm_cpu_params(FSP_M_CONFIG *m_cfg,
|
||||||
|
Reference in New Issue
Block a user