soc/intel/alderlake: Hook up UPD LowerBasicMemTestSize
Hook the newly exposed LowerBasicMemTestSize UPD up so that boards can configure is via devicetree. BUG=b:268546941 TEST=Verified by enabling/disabling the UPD on google/brya Signed-off-by: Bora Guvendik <bora.guvendik@intel.com> Change-Id: Ib813e9f3b7419a3cb54b4e176dcc5cc74a783dfd Reviewed-on: https://review.coreboot.org/c/coreboot/+/74718 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Nick Vaccaro <nvaccaro@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems> Reviewed-by: Sridhar Siricilla <sridhar.siricilla@intel.com>
This commit is contained in:
parent
0cc560fd3c
commit
433343eaaa
|
@ -730,6 +730,13 @@ struct soc_intel_alderlake_config {
|
|||
* Set this to 1 in order to disable Tccold Handshake
|
||||
*/
|
||||
bool disable_dynamic_tccold_handshake;
|
||||
|
||||
/*
|
||||
* Enable or Disable Reduced BasicMemoryTest size.
|
||||
* Default is set to 0.
|
||||
* Set this to 1 in order to reduce BasicMemoryTest size
|
||||
*/
|
||||
bool lower_basic_mem_test_size;
|
||||
};
|
||||
|
||||
typedef struct soc_intel_alderlake_config config_t;
|
||||
|
|
|
@ -158,6 +158,9 @@ static void fill_fspm_mrc_params(FSP_M_CONFIG *m_cfg,
|
|||
m_cfg->DdrFreqLimit = config->max_dram_speed_mts;
|
||||
m_cfg->DdrSpeedControl = 1;
|
||||
}
|
||||
#if CONFIG(SOC_INTEL_RAPTORLAKE)
|
||||
m_cfg->LowerBasicMemTestSize = config->lower_basic_mem_test_size;
|
||||
#endif
|
||||
}
|
||||
|
||||
static void fill_fspm_cpu_params(FSP_M_CONFIG *m_cfg,
|
||||
|
|
Loading…
Reference in New Issue