summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrystal Guo <crystal.guo@mediatek.corp-partner.google.com>2024-08-12 14:54:47 +0800
committerYu-Ping Wu <yupingso@google.com>2024-11-13 02:27:23 +0000
commit4ccfcc11d9c2eede807d934c60a5badb7749b59a (patch)
treec71928b12d992c4bd29e11e197866a5c804f522d
parenta356d234f8e95ff7a95637a0599e0642a1f16eef (diff)
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>
-rw-r--r--src/commonlib/bsd/include/commonlib/bsd/mem_chip_info.h4
1 files changed, 4 insertions, 0 deletions
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 <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... */