mem_chip_info: Add LPDDR5 enums to mem_chip_type

Add MEM_CHIP_LPDDR5 and MEM_CHIP_LPDDR5X to mem_chip_type enum.

BUG=b:357743097
TEST=build pass

Change-Id: Ic947932bacf9bef53f275685b2616601d0a6823c
Signed-off-by: Crystal Guo <crystal.guo@mediatek.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85034
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Crystal Guo 2024-08-12 14:54:47 +08:00 committed by Yu-Ping Wu
commit 4ccfcc11d9

View file

@ -6,11 +6,15 @@
#include <stddef.h>
enum mem_chip_type {
MEM_CHIP_UNDEFINED = 0x00,
MEM_CHIP_DDR3 = 0x30,
MEM_CHIP_LPDDR3 = 0x38,
MEM_CHIP_DDR4 = 0x40,
MEM_CHIP_LPDDR4 = 0x48,
MEM_CHIP_LPDDR4X = 0x49,
MEM_CHIP_DDR5 = 0x50,
MEM_CHIP_LPDDR5 = 0x58,
MEM_CHIP_LPDDR5X = 0x59,
};
#define MEM_CHIP_STRUCT_VERSION 0 /* Hopefully we'll never have to bump this... */