summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-05-26 19:53:29 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2016-06-14 23:54:51 +0200
commitd450609145a78c2d93707664073466bf29c83426 (patch)
tree61ec843b9fc69b43f28bec215d53ebc0fcfb77f0
parent579fdb4910aaac3e29f55b44f5333b4a9416d3be (diff)
Added CL7 support
according to "JEDEC_DDR2_SPD_Specification_Rev1.3.pdf" Annex J: Serial Presence Detects for DDR2 SDRAM (Revision 1.3) page 16 and page 60, CL7 support added Change-Id: I22aaf064ab8767755f74dfdb44e32d13fc61b2c4 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/14976 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--src/include/spd.h1
-rw-r--r--src/include/spd_ddr2.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/include/spd.h b/src/include/spd.h
index ea1b355a21..7aaf4dd896 100644
--- a/src/include/spd.h
+++ b/src/include/spd.h
@@ -145,6 +145,7 @@ enum spd_memory_type {
#define SPD_CAS_LATENCY_DDR2_4 (1 << 4)
#define SPD_CAS_LATENCY_DDR2_5 (1 << 5)
#define SPD_CAS_LATENCY_DDR2_6 (1 << 6)
+#define SPD_CAS_LATENCY_DDR2_7 (1 << 7)
/* SPD_SUPPORTED_BURST_LENGTHS values. */
#define SPD_BURST_LENGTH_1 1
diff --git a/src/include/spd_ddr2.h b/src/include/spd_ddr2.h
index 21aacf6a7e..a31b4aa251 100644
--- a/src/include/spd_ddr2.h
+++ b/src/include/spd_ddr2.h
@@ -80,6 +80,7 @@
#define SPD_CAS_LAT_4 (1<<4)
#define SPD_CAS_LAT_5 (1<<5)
#define SPD_CAS_LAT_6 (1<<6)
+ #define SPD_CAS_LAT_7 (1<<7)
#define SPD_TRP 27 /* bit [7:2] = 1-63 ns, bit [1:0] 0.25ns+, final value ((val>>2) + (val & 3) * 0.25)ns */
#define SPD_TRRD 28