summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/fsp/dmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/common/fsp/dmi.c')
-rw-r--r--src/soc/amd/common/fsp/dmi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/common/fsp/dmi.c b/src/soc/amd/common/fsp/dmi.c
index 61d43f7aae..223cce1577 100644
--- a/src/soc/amd/common/fsp/dmi.c
+++ b/src/soc/amd/common/fsp/dmi.c
@@ -54,8 +54,8 @@ static void transfer_memory_info(const TYPE17_DMI_INFO *dmi17,
dimm->mod_type = smbios_form_factor_to_spd_mod_type(dmi17->FormFactor);
- dimm->bus_width =
- smbios_bus_width_to_spd_width(dmi17->TotalWidth, dmi17->DataWidth);
+ dimm->bus_width = smbios_bus_width_to_spd_width(dmi17->MemoryType, dmi17->TotalWidth,
+ dmi17->DataWidth);
dimm->mod_id = dmi17->ManufacturerIdCode;