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/google | |
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/google')
-rw-r--r-- | src/mainboard/google/brya/romstage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/romstage.c b/src/mainboard/google/brya/romstage.c index 475bf61148..dc44c0d309 100644 --- a/src/mainboard/google/brya/romstage.c +++ b/src/mainboard/google/brya/romstage.c @@ -6,7 +6,7 @@ #include <gpio.h> #include <soc/romstage.h> -void mainboard_memory_init_params(FSPM_UPD *memupd) +void mainboard_memory_init_params(FSP_M_CONFIG *m_cfg) { const struct mb_cfg *mem_config = variant_memory_params(); bool half_populated = variant_is_half_populated(); @@ -16,5 +16,5 @@ void mainboard_memory_init_params(FSPM_UPD *memupd) .cbfs_index = variant_memory_sku(), }; - memcfg_init(&memupd->FspmConfig, mem_config, &spd_info, half_populated); + memcfg_init(m_cfg, mem_config, &spd_info, half_populated); } |