summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorNick Vaccaro <nvaccaro@google.com>2020-09-30 16:37:01 -0700
committerNick Vaccaro <nvaccaro@google.com>2020-10-05 18:03:46 +0000
commitdfcd739fc78f34ebc2df265d201a9333aab4a2f5 (patch)
treeea75560f93f83496e913504cdbc0db2e3e0ab7a5 /src/lib
parentbe34b500a623068ec579e4f32881adf0e663089b (diff)
downloadcoreboot-dfcd739fc78f34ebc2df265d201a9333aab4a2f5.tar.xz
lib/spd_bin: add LPDDR4X case to spd_get_name()
Add case for LPDDR4x to spd_get_name(). BUG=b:169800932, b:168724473 TEST=none Change-Id: I6bae373468b8ad5ae0a6b8dd6bbe14143afb85af Signed-off-by: Nick Vaccaro <nvaccaro@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45886 Reviewed-by: Caveh Jalali <caveh@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/spd_bin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/spd_bin.c b/src/lib/spd_bin.c
index aeed204a85..4125973215 100644
--- a/src/lib/spd_bin.c
+++ b/src/lib/spd_bin.c
@@ -159,6 +159,7 @@ static void spd_get_name(const uint8_t spd[], char spd_name[], int dram_type)
case SPD_DRAM_LPDDR3_JEDEC:
case SPD_DRAM_DDR4:
case SPD_DRAM_LPDDR4:
+ case SPD_DRAM_LPDDR4X:
memcpy(spd_name, &spd[DDR4_SPD_PART_OFF], DDR4_SPD_PART_LEN);
spd_name[DDR4_SPD_PART_LEN] = 0;
break;