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>
This commit is contained in:
Subrata Banik 2022-11-04 18:33:37 +05:30 committed by Eric Lai
parent 624bf72709
commit ca971d1325
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@
#define SPD_DRAM_LPDDR4X 0x11
#define SPD_DRAM_DDR5 0x12
#define SPD_DRAM_LPDDR5 0x13
#define SPD_DRAM_LPDDR5X 0x15
#define SPD_DENSITY_BANKS 4
#define SPD_ADDRESSING 5
#define SPD_SN_LEN 4

View File

@ -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";
}