summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorEric Lai <ericr_lai@compal.corp-partner.google.com>2020-03-06 21:18:30 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-03-07 20:55:06 +0000
commitd0ee87032a589d477eb70f45f60b26fbb6cf53a2 (patch)
tree2547816c527619e079bc985de40c1322bd9e6cd9 /src/include
parenta317353f4283bf51f28482c69b0e52d1c4511be8 (diff)
lib/spd_bin: Extend LPDDR4 SPD information
Follow JEDEC 21-C to extend LPDDR4 SPD information. Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com> Change-Id: I68c9782c543afab4423296fa7ac1c078db5649c3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/39352 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/spd_bin.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/spd_bin.h b/src/include/spd_bin.h
index f144b1461c..c78f7c3267 100644
--- a/src/include/spd_bin.h
+++ b/src/include/spd_bin.h
@@ -28,6 +28,7 @@
#define SPD_DRAM_LPDDR3_INTEL 0xF1
#define SPD_DRAM_LPDDR3_JEDEC 0x0F
#define SPD_DRAM_DDR4 0x0C
+#define SPD_DRAM_LPDDR4 0x10
#define SPD_DENSITY_BANKS 4
#define SPD_ADDRESSING 5
#define DDR3_ORGANIZATION 7
@@ -40,8 +41,6 @@
#define LPDDR3_SPD_PART_LEN 18
#define DDR4_SPD_PART_OFF 329
#define DDR4_SPD_PART_LEN 20
-#define LPDDR4_SPD_PART_OFF 329
-#define LPDDR4_SPD_PART_LEN 20
struct spd_block {
u8 addr_map[CONFIG_DIMM_MAX]; /* 7 bit I2C addresses */