diff options
author | Subrata Banik <subratabanik@google.com> | 2022-11-04 18:33:37 +0530 |
---|---|---|
committer | Eric Lai <eric_lai@quanta.corp-partner.google.com> | 2022-11-07 02:29:23 +0000 |
commit | ca971d132508a32caada6195cae8471afc13db38 (patch) | |
tree | cdc5978ad57b4cf54d61c7cb0948ddf5c781d2f6 /src/lib | |
parent | 624bf72709423d72acda107ed6d00b945068268d (diff) | |
download | coreboot-ca971d132508a32caada6195cae8471afc13db38.tar.gz coreboot-ca971d132508a32caada6195cae8471afc13db38.tar.bz2 coreboot-ca971d132508a32caada6195cae8471afc13db38.zip |
lib: Add LPDDR5x DRAM type
BUG=none
TEST=Able to build and boot Google, Rex SKU2 (Micron LPDDR5x
MT62F1G32D2DS-026).
Without this code change:
[INFO ] SPD: module type is UNKNOWN
With this code change:
[INFO ] SPD: module type is LPDDR5X
Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: If620cf51133ca295fd3f1cbecbb472beb337b9fc
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69226
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/spd_bin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/spd_bin.c b/src/lib/spd_bin.c index 0aaaee6e4fe0..e005ccbad96b 100644 --- a/src/lib/spd_bin.c +++ b/src/lib/spd_bin.c @@ -63,6 +63,8 @@ static const char *spd_get_module_type_string(int dram_type) return "DDR5"; case SPD_DRAM_LPDDR5: return "LPDDR5"; + case SPD_DRAM_LPDDR5X: + return "LPDDR5X"; } return "UNKNOWN"; } |