diff options
author | Subrata Banik <subrata.banik@intel.com> | 2021-06-23 15:27:43 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2021-06-24 07:55:12 +0000 |
commit | 0007fa96a1a720fa1938259135d6a864452198f4 (patch) | |
tree | 56b1cea7375963053235aa8904add817c659eccf /src/mainboard/intel/shadowmountain | |
parent | b03cadf84b6da713553c0b7191134f2bc63b3e11 (diff) |
soc/intel/alderlake: Update mainboard_memory_init_params() argument
This patch updates mainboard_memory_init_params() function argument from
FSPM_UPD to FSP_M_CONFIG. Ideally mainboard_memory_init_params()
function don't need to override anything other than FSP_M_CONFIG UPDs
hence passing config block alone rather passing entire FSP-M UPD
structure.
Change-Id: I238870478a1427918abf888d71ba9c9fa80d3427
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55785
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/intel/shadowmountain')
-rw-r--r-- | src/mainboard/intel/shadowmountain/romstage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/intel/shadowmountain/romstage.c b/src/mainboard/intel/shadowmountain/romstage.c index 1e29e8029d..3aacf38a03 100644 --- a/src/mainboard/intel/shadowmountain/romstage.c +++ b/src/mainboard/intel/shadowmountain/romstage.c @@ -9,7 +9,7 @@ #include <baseboard/variants.h> #include <cbfs.h> -void mainboard_memory_init_params(FSPM_UPD *mupd) +void mainboard_memory_init_params(FSP_M_CONFIG *m_cfg) { const struct mb_cfg *mem_config = variant_memory_params(); const bool half_populated = false; @@ -19,5 +19,5 @@ void mainboard_memory_init_params(FSPM_UPD *mupd) .cbfs_index = variant_memory_sku(), }; - memcfg_init(&mupd->FspmConfig, mem_config, &lp5_spd_info, half_populated); + memcfg_init(m_cfg, mem_config, &lp5_spd_info, half_populated); } |