diff options
author | Nick Vaccaro <nvaccaro@google.com> | 2020-09-30 16:37:01 -0700 |
---|---|---|
committer | Nick Vaccaro <nvaccaro@google.com> | 2020-10-05 18:03:46 +0000 |
commit | dfcd739fc78f34ebc2df265d201a9333aab4a2f5 (patch) | |
tree | ea75560f93f83496e913504cdbc0db2e3e0ab7a5 | |
parent | be34b500a623068ec579e4f32881adf0e663089b (diff) |
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>
-rw-r--r-- | src/lib/spd_bin.c | 1 |
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; |