summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorJingleHsuWiwynn <jingle_hsu@wiwynn.com>2021-09-16 13:43:34 +0800
committerFelix Held <felix-coreboot@felixheld.de>2021-09-20 12:12:46 +0000
commit5f08ef963916a9a299b2f3eac6b513908048e002 (patch)
tree56799bded5ff3b696699d5b2073ef3a911af6387 /src/device
parent800754fea3c0219b8d9f908ada18201231ab52e5 (diff)
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 <jingle_hsu@wiwynn.com> Change-Id: I0b4bbc46d3bfd9e9534cdd59f90cbdc150f29542 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57700 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Daocheng Bu <daocheng.bu@intel.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/device')
-rw-r--r--src/device/dram/spd.c3
1 files changed, 3 insertions, 0 deletions
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;