summaryrefslogtreecommitdiff
path: root/src/mainboard/msi/ms7d25/mainboard.c
diff options
context:
space:
mode:
authorMichał Żygowski <michal.zygowski@3mdeb.com>2022-10-15 12:38:35 +0200
committerMichał Żygowski <michal.zygowski@3mdeb.com>2023-01-13 10:53:20 +0000
commit9f87ad2c2f977670d06d55ce5af45560e3a32677 (patch)
tree8ebd004d9211a0146f424b36fcb02bff3cd7b17e /src/mainboard/msi/ms7d25/mainboard.c
parent61ef0e4aa564df122283764056bf1e06a7b16cec (diff)
mb/msi/ms7d25: Add support for DDR5 variant
The DDR5 board is almost identical to the DDR4 one. The only major difference is the board's DDR5 memory design. TEST=Boot MSI PRO Z690-A board successfully to Ubuntu 22.04. Memory: Crucial CT8G48C40U5.M4A1 in all 4 slots. Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com> Change-Id: I652a879d1616df4708fe4690797ad98384897f53 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68448 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Krystian Hebel <krystian.hebel@3mdeb.com>
Diffstat (limited to 'src/mainboard/msi/ms7d25/mainboard.c')
-rw-r--r--src/mainboard/msi/ms7d25/mainboard.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mainboard/msi/ms7d25/mainboard.c b/src/mainboard/msi/ms7d25/mainboard.c
index 9c3a3ae17e..539f897e7a 100644
--- a/src/mainboard/msi/ms7d25/mainboard.c
+++ b/src/mainboard/msi/ms7d25/mainboard.c
@@ -35,7 +35,6 @@ const char *smbios_system_product_name(void)
const char *smbios_mainboard_product_name(void)
{
- /* Currently we support DDR4 variants, but e.g. DDR5 can be added later */
if (CONFIG(BOARD_MSI_Z690_A_PRO_WIFI_DDR4)) {
if (is_devfn_enabled(PCH_DEVFN_CNVI_WIFI))
return "PRO Z690-A WIFI DDR4(MS-7D25)";
@@ -43,6 +42,13 @@ const char *smbios_mainboard_product_name(void)
return "PRO Z690-A DDR4(MS-7D25)";
}
+ if (CONFIG(BOARD_MSI_Z690_A_PRO_WIFI_DDR5)) {
+ if (is_devfn_enabled(PCH_DEVFN_CNVI_WIFI))
+ return "PRO Z690-A WIFI (MS-7D25)";
+ else
+ return "PRO Z690-A (MS-7D25)";
+ }
+
return CONFIG_MAINBOARD_PART_NUMBER;
}