diff options
author | Rob Barnes <robbarnes@google.com> | 2020-09-14 07:51:51 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2020-09-16 03:25:28 +0000 |
commit | e5aa5ae1ba5bc20af7d4db6e2af3ea9c96900c09 (patch) | |
tree | 0bdd9f83e4df2dcc87af4f0442a6491e35bbbf7b /src/drivers/spi | |
parent | a01ee36288b26f31fc1e912324293104f33211c3 (diff) |
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.
Use method from dram/ddr4.c instead.
BUG=b:167155849
TEST=Boot ezkinil, check output of 'mosys memory spd print all'
and dmidecode -t17
BRANCH=Zork
Signed-off-by: Rob Barnes <robbarnes@google.com>
Change-Id: Icc77c21932c68ee9f0ff0b8e35ae7b1a3732b322
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45177
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/drivers/spi')
0 files changed, 0 insertions, 0 deletions