summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/cezanne/fsp_m_params.c5
-rw-r--r--src/soc/amd/cezanne/include/soc/platform_descriptors.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/amd/cezanne/fsp_m_params.c b/src/soc/amd/cezanne/fsp_m_params.c
index 352aeef582..9546721f0e 100644
--- a/src/soc/amd/cezanne/fsp_m_params.c
+++ b/src/soc/amd/cezanne/fsp_m_params.c
@@ -36,6 +36,10 @@ static bool devtree_gfx_hda_dev_enabled(void)
return gfx_hda_dev->enabled;
}
+__weak void mb_pre_fspm(void)
+{
+}
+
static void fill_dxio_descriptors(FSP_M_CONFIG *mcfg,
const fsp_dxio_descriptor *descs, size_t num)
{
@@ -171,4 +175,5 @@ void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version)
fsp_fill_pcie_ddi_descriptors(mcfg);
fsp_assign_ioapic_upds(mcfg);
+ mb_pre_fspm();
}
diff --git a/src/soc/amd/cezanne/include/soc/platform_descriptors.h b/src/soc/amd/cezanne/include/soc/platform_descriptors.h
index d68cd7fab9..3a4bc62339 100644
--- a/src/soc/amd/cezanne/include/soc/platform_descriptors.h
+++ b/src/soc/amd/cezanne/include/soc/platform_descriptors.h
@@ -12,4 +12,6 @@ void mainboard_get_dxio_ddi_descriptors(
const fsp_dxio_descriptor **dxio_descs, size_t *dxio_num,
const fsp_ddi_descriptor **ddi_descs, size_t *ddi_num);
+void mb_pre_fspm(void);
+
#endif /* AMD_PICASSO_PLATFORM_DESCRIPTORS_H */