blob: 0b2dd49eee28cd3bbf1c491e52f7c677e9c42623 [file] [log] [blame]
Patrick Rudolphff251d22021-02-11 15:09:22 +01001/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3#include <device/dram/spd.h>
4
5const char *spd_manufacturer_name(const uint16_t mod_id)
6{
7 switch (mod_id) {
8 case 0x9b85:
9 return "Crucial";
10 case 0x4304:
11 return "Ramaxel";
12 case 0x4f01:
13 return "Transcend";
14 case 0x9801:
15 return "Kingston";
16 case 0x987f:
JingleHsuWiwynn5f08ef92021-09-16 13:43:34 +080017 case 0xad00:
Patrick Rudolphff251d22021-02-11 15:09:22 +010018 return "Hynix";
19 case 0x9e02:
20 return "Corsair";
21 case 0xb004:
22 return "OCZ";
23 case 0xad80:
24 return "Hynix/Hyundai";
25 case 0x3486:
26 return "Super Talent";
27 case 0xcd04:
28 return "GSkill";
29 case 0xce80:
JingleHsuWiwynn5f08ef92021-09-16 13:43:34 +080030 case 0xce00:
Patrick Rudolphff251d22021-02-11 15:09:22 +010031 return "Samsung";
32 case 0xfe02:
33 return "Elpida";
34 case 0x2c80:
JingleHsuWiwynn5f08ef92021-09-16 13:43:34 +080035 case 0x2c00:
Patrick Rudolphff251d22021-02-11 15:09:22 +010036 return "Micron";
37 default:
38 return NULL;
39 }
40}