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>
This commit is contained in:
parent
be34b500a6
commit
dfcd739fc7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue