Hello build bot (Jenkins), Raul Rangel, Jack Rosenthal, Paul Fagerburg,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/45177
to look at the new patch set (#4).
Change subject: soc/amd/picasso: Convert DDR4 MHz to MT/s correctly ......................................................................
soc/amd/picasso: Convert DDR4 MHz to MT/s correctly
Memory speed is given as an integer in MHz. In some cases it has an implicit fractional speed, so simply multiplying by 2 is not sufficient.
Instead tCK(avg) values from the JEDEC DDR4 spec are used to calculate accurate MHz ranges for each speed bin. The normalized MT/s value for the speed bin is then used for SMBIOS type 17.
BUG=b:167155849 TEST=Boot ezkinil, check output of 'mosys memory spd print all' and dmidecode -t17
Signed-off-by: Rob Barnes robbarnes@google.com Change-Id: Icc77c21932c68ee9f0ff0b8e35ae7b1a3732b322 --- M src/soc/amd/picasso/dmi.c 1 file changed, 144 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/77/45177/4