summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-05-06 10:08:51 +0200
committerElyes Haouas <ehaouas@noos.fr>2024-05-07 10:53:18 +0000
commit0f45e17f564a657ddf9804124e4e30da0edb1d13 (patch)
tree94482f30d5d59c8b2d8bf4af1feefe9b734d100f /tests/lib
parent239347a90934deb77443869b6544c31f9b261733 (diff)
dram/ddr5: Use the same naming convention as DDR{2,3,4}
Change-Id: I2cc38926b56315d4a828311917ff58051b34b777 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82214 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/dimm_info_util-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/dimm_info_util-test.c b/tests/lib/dimm_info_util-test.c
index 624924f9c7..8e33988682 100644
--- a/tests/lib/dimm_info_util-test.c
+++ b/tests/lib/dimm_info_util-test.c
@@ -165,9 +165,9 @@ static void test_smbios_form_factor_to_spd_mod_type(void **state)
.expected_module_type = SPD_DDR4_DIMM_TYPE_SO_DIMM,
},
{.memory_type = MEMORY_TYPE_DDR5,
- .udimm_allowed = {DDR5_SPD_UDIMM, DDR5_SPD_MINI_UDIMM},
- .rdimm_allowed = {DDR5_SPD_RDIMM, DDR5_SPD_MINI_RDIMM},
- .expected_module_type = DDR5_SPD_SODIMM},
+ .udimm_allowed = {SPD_DDR5_DIMM_TYPE_UDIMM, SPD_DDR5_DIMM_TYPE_MINI_UDIMM},
+ .rdimm_allowed = {SPD_DDR5_DIMM_TYPE_RDIMM, SPD_DDR5_DIMM_TYPE_MINI_RDIMM},
+ .expected_module_type = SPD_DDR5_DIMM_TYPE_SODIMM},
};
/* Test for DDRx DIMM Modules */