diff options
author | Rob Barnes <robbarnes@google.com> | 2020-09-14 07:46:19 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2020-09-16 03:24:50 +0000 |
commit | a01ee36288b26f31fc1e912324293104f33211c3 (patch) | |
tree | bce1967dab34f331666679524e7d487529cd3038 /src/device/dram/Makefile.inc | |
parent | fcd7d0518c0719701c7ed58cd0e0869be492d34c (diff) |
device/dram: Add method for converting MHz to MT/s
Add method for converting DDR4 speed in MHz to MT/s. Checks that MHz is
within a speed grade range.
BUG=b:167155849
TEST=ddr4-test unit test
BRANCH=Zork
Change-Id: I1433f028afb794fe3e397b03f5bd0565494c8130
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45343
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/device/dram/Makefile.inc')
-rw-r--r-- | src/device/dram/Makefile.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device/dram/Makefile.inc b/src/device/dram/Makefile.inc index f397a534f2..f7118dbbc2 100644 --- a/src/device/dram/Makefile.inc +++ b/src/device/dram/Makefile.inc @@ -1 +1,3 @@ romstage-y += ddr4.c ddr3.c ddr2.c ddr_common.c + +ramstage-y += ddr4.c ddr3.c ddr2.c ddr_common.c |