From 5f08ef963916a9a299b2f3eac6b513908048e002 Mon Sep 17 00:00:00 2001 From: JingleHsuWiwynn Date: Thu, 16 Sep 2021 13:43:34 +0800 Subject: device/dram/spd.c: Add more manufacturer ID codes Add manufacturer ID codes for Hynix, Samsung and Micron. Tested=On OCP Crater Lake, dmidecode -t 17 shows expected info. Signed-off-by: JingleHsuWiwynn Change-Id: I0b4bbc46d3bfd9e9534cdd59f90cbdc150f29542 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57700 Tested-by: build bot (Jenkins) Reviewed-by: Daocheng Bu Reviewed-by: Angel Pons Reviewed-by: Tim Wawrzynczak --- src/device/dram/spd.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/device/dram') diff --git a/src/device/dram/spd.c b/src/device/dram/spd.c index 9a9a767fc2..0b2dd49eee 100644 --- a/src/device/dram/spd.c +++ b/src/device/dram/spd.c @@ -14,6 +14,7 @@ const char *spd_manufacturer_name(const uint16_t mod_id) case 0x9801: return "Kingston"; case 0x987f: + case 0xad00: return "Hynix"; case 0x9e02: return "Corsair"; @@ -26,10 +27,12 @@ const char *spd_manufacturer_name(const uint16_t mod_id) case 0xcd04: return "GSkill"; case 0xce80: + case 0xce00: return "Samsung"; case 0xfe02: return "Elpida"; case 0x2c80: + case 0x2c00: return "Micron"; default: return NULL; -- cgit v1.2.3