From 4ccfcc11d9c2eede807d934c60a5badb7749b59a Mon Sep 17 00:00:00 2001 From: Crystal Guo Date: Mon, 12 Aug 2024 14:54:47 +0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/85034 Reviewed-by: Yu-Ping Wu Reviewed-by: Yidi Lin Tested-by: build bot (Jenkins) --- src/commonlib/bsd/include/commonlib/bsd/mem_chip_info.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/commonlib/bsd/include/commonlib/bsd/mem_chip_info.h b/src/commonlib/bsd/include/commonlib/bsd/mem_chip_info.h index 5d4d37c486..f191cc7642 100644 --- a/src/commonlib/bsd/include/commonlib/bsd/mem_chip_info.h +++ b/src/commonlib/bsd/include/commonlib/bsd/mem_chip_info.h @@ -6,11 +6,15 @@ #include 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... */ -- cgit v1.2.3