From b4a5ef4ffe179bdcfe9a14efa9dc0a8f2acec225 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Tue, 23 Aug 2022 11:49:54 -0500 Subject: soc/amd/common/fsp/dmi: Print MT/s speeds, not frequency in debug output Since the frequency field is deprecated, print the max/configured MT/s speeds instead. TEST=build/boot google/skyrim, verify output in cbmem console log Change-Id: Icee5af762ca37c3b2ec8c9a52a7f32fb848390b0 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/66980 Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) Reviewed-by: Fred Reitberger Reviewed-by: Marshall Dawson --- src/soc/amd/common/fsp/dmi.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/soc/amd/common/fsp/dmi.c b/src/soc/amd/common/fsp/dmi.c index 872417ba44..e3b6fad221 100644 --- a/src/soc/amd/common/fsp/dmi.c +++ b/src/soc/amd/common/fsp/dmi.c @@ -77,7 +77,8 @@ static void print_dimm_info(const struct dimm_info *dimm) "CBMEM_ID_MEMINFO:\n" " dimm_size: %u\n" " ddr_type: 0x%hx\n" - " ddr_frequency: %hu\n" + " max_speed_mts: %hu\n" + " config_speed_mts: %hu\n" " rank_per_dimm: %hhu\n" " channel_num: %hhu\n" " dimm_num: %hhu\n" @@ -89,7 +90,8 @@ static void print_dimm_info(const struct dimm_info *dimm) " module_part_number(%zu): %s\n", dimm->dimm_size, dimm->ddr_type, - dimm->ddr_frequency, + dimm->max_speed_mts, + dimm->configured_speed_mts, dimm->rank_per_dimm, dimm->channel_num, dimm->dimm_num, -- cgit v1.2.3