coreboot-kgpe-d16/src/include/device/dram
Matt DeVillier bb9d106eab 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>
2022-08-25 01:00:44 +00:00
..
common.h device/dram/common.h: Use C over CPP 2022-05-11 13:55:33 +00:00
ddr2.h
ddr3.h include/device/dram/ddr3.h: Don't redefine 'printram(x, ...)' 2022-02-21 15:23:12 +00:00
ddr4.h
ddr5.h device/dram: Add function to convert freq to MT/s for (LP)DDR5 2022-08-25 01:00:44 +00:00
lpddr4.h
spd.h