diff options
author | Matt DeVillier <matt.devillier@amd.corp-partner.google.com> | 2022-08-22 17:27:11 -0500 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-08-25 01:00:44 +0000 |
commit | bb9d106eab6212229fb1d6d4645f93bb883850ac (patch) | |
tree | 9b3b1448c16703f3e9e695d5f38b81561b71b2d3 /src/soc/amd/common | |
parent | 65fe21f1c96a0762ba764fe47c8dc1d9cb7ee217 (diff) |
device/dram: Add function to convert freq to MT/s for (LP)DDR5
As the frequency field in the SMBIOS type 17 table is deprecated,
we need to provide the maximum and configured speed in MT/s. Add
a method to convert from frequency to MT/s using a lookup table.
BUG=b:239000826
TEST=Build and verify with other patches in train
Change-Id: I0402b33a667f7d72918365a6a79b13c5b1719c0d
Signed-off-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66953
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd/common')
0 files changed, 0 insertions, 0 deletions