summaryrefslogtreecommitdiffstats
path: root/src/include/device/dram
diff options
context:
space:
mode:
authorDan Elkouby <streetwalkermc@gmail.com>2018-04-13 18:45:02 +0300
committerPatrick Georgi <pgeorgi@google.com>2018-04-16 08:46:23 +0000
commit0c024208cdd3cfdfd7689b6fcba1b5c877f550c7 (patch)
treeb15c57901923e4ae184366fa75a849d4ba2d9f85 /src/include/device/dram
parent9f79d6091044dc1bf93cf1759b0a44fda1e99965 (diff)
downloadcoreboot-0c024208cdd3cfdfd7689b6fcba1b5c877f550c7.tar.gz
coreboot-0c024208cdd3cfdfd7689b6fcba1b5c877f550c7.tar.bz2
coreboot-0c024208cdd3cfdfd7689b6fcba1b5c877f550c7.zip
device/dram/ddr3: improve XMP support
- Fix offsets for supported CAS latencies - Add support for reading CWL and CMD rate from the profile Change-Id: Ie4f545ed1df92c146be02f56fea0ca9037478649 Signed-off-by: Dan Elkouby <streetwalkermc@gmail.com> Reviewed-on: https://review.coreboot.org/25663 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/include/device/dram')
-rw-r--r--src/include/device/dram/ddr3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/device/dram/ddr3.h b/src/include/device/dram/ddr3.h
index 07560955885a..9a246617d9aa 100644
--- a/src/include/device/dram/ddr3.h
+++ b/src/include/device/dram/ddr3.h
@@ -162,6 +162,8 @@ typedef struct dimm_attr_st {
u32 tWTR;
u32 tRTP;
u32 tFAW;
+ u32 tCWL;
+ u16 tCMD;
u8 reference_card;
/* XMP: Module voltage in mV */