summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/amd/cezanne/fsp_m_params.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/amd/cezanne/fsp_m_params.c b/src/soc/amd/cezanne/fsp_m_params.c
index 92debe3b08..8c9e5a15cb 100644
--- a/src/soc/amd/cezanne/fsp_m_params.c
+++ b/src/soc/amd/cezanne/fsp_m_params.c
@@ -45,10 +45,10 @@ static void fill_ddi_descriptors(FSP_M_CONFIG *mcfg,
static void fsp_fill_pcie_ddi_descriptors(FSP_M_CONFIG *mcfg)
{
- const fsp_dxio_descriptor *fsp_dxio;
- const fsp_ddi_descriptor *fsp_ddi;
- size_t num_dxio;
- size_t num_ddi;
+ const fsp_dxio_descriptor *fsp_dxio = NULL;
+ const fsp_ddi_descriptor *fsp_ddi = NULL;
+ size_t num_dxio = 0;
+ size_t num_ddi = 0;
mainboard_get_dxio_ddi_descriptors(&fsp_dxio, &num_dxio,
&fsp_ddi, &num_ddi);