blob: 9a9a767fc2786ddb66178b92407b1eab51ae8aac [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:
17 return "Hynix";
18 case 0x9e02:
19 return "Corsair";
20 case 0xb004:
21 return "OCZ";
22 case 0xad80:
23 return "Hynix/Hyundai";
24 case 0x3486:
25 return "Super Talent";
26 case 0xcd04:
27 return "GSkill";
28 case 0xce80:
29 return "Samsung";
30 case 0xfe02:
31 return "Elpida";
32 case 0x2c80:
33 return "Micron";
34 default:
35 return NULL;
36 }
37}