summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/picasso')
-rw-r--r--src/soc/amd/picasso/fsp_m_params.c4
-rw-r--r--src/soc/amd/picasso/include/soc/platform_descriptors.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/fsp_m_params.c b/src/soc/amd/picasso/fsp_m_params.c
index 6483394294..0be815e7f5 100644
--- a/src/soc/amd/picasso/fsp_m_params.c
+++ b/src/soc/amd/picasso/fsp_m_params.c
@@ -5,6 +5,7 @@
#include <console/uart.h>
#include <device/device.h>
#include <fsp/api.h>
+#include <soc/platform_descriptors.h>
#include <soc/pci_devs.h>
#include <soc/fsp.h>
#include <types.h>
@@ -12,6 +13,8 @@
void __weak mainboard_updm_update(FSP_M_CONFIG *mupd) {}
+void __weak mb_pre_fspm(void) {}
+
void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version)
{
FSP_M_CONFIG *mcfg = &mupd->FspmConfig;
@@ -69,4 +72,5 @@ void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version)
mcfg->pspp_policy = config->pspp_policy;
mainboard_updm_update(mcfg);
+ mb_pre_fspm();
}
diff --git a/src/soc/amd/picasso/include/soc/platform_descriptors.h b/src/soc/amd/picasso/include/soc/platform_descriptors.h
index 2ea35a940b..00cd42f4a8 100644
--- a/src/soc/amd/picasso/include/soc/platform_descriptors.h
+++ b/src/soc/amd/picasso/include/soc/platform_descriptors.h
@@ -27,4 +27,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 */