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 <matt.devillier@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66980
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
Matt DeVillier 2022-08-23 11:49:54 -05:00 committed by Martin L Roth
parent 32bb6b6500
commit b4a5ef4ffe
1 changed files with 4 additions and 2 deletions

View File

@ -77,7 +77,8 @@ static void print_dimm_info(const struct dimm_info *dimm)
"CBMEM_ID_MEMINFO:\n" "CBMEM_ID_MEMINFO:\n"
" dimm_size: %u\n" " dimm_size: %u\n"
" ddr_type: 0x%hx\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" " rank_per_dimm: %hhu\n"
" channel_num: %hhu\n" " channel_num: %hhu\n"
" dimm_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", " module_part_number(%zu): %s\n",
dimm->dimm_size, dimm->dimm_size,
dimm->ddr_type, dimm->ddr_type,
dimm->ddr_frequency, dimm->max_speed_mts,
dimm->configured_speed_mts,
dimm->rank_per_dimm, dimm->rank_per_dimm,
dimm->channel_num, dimm->channel_num,
dimm->dimm_num, dimm->dimm_num,