Patrick Rudolph | ff251d2 | 2021-02-11 15:09:22 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | |
| 3 | #include <device/dram/spd.h> |
| 4 | |
| 5 | const 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: |
JingleHsuWiwynn | 5f08ef9 | 2021-09-16 13:43:34 +0800 | [diff] [blame] | 17 | case 0xad00: |
Patrick Rudolph | ff251d2 | 2021-02-11 15:09:22 +0100 | [diff] [blame] | 18 | 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: |
JingleHsuWiwynn | 5f08ef9 | 2021-09-16 13:43:34 +0800 | [diff] [blame] | 30 | case 0xce00: |
Patrick Rudolph | ff251d2 | 2021-02-11 15:09:22 +0100 | [diff] [blame] | 31 | return "Samsung"; |
| 32 | case 0xfe02: |
| 33 | return "Elpida"; |
| 34 | case 0x2c80: |
JingleHsuWiwynn | 5f08ef9 | 2021-09-16 13:43:34 +0800 | [diff] [blame] | 35 | case 0x2c00: |
Patrick Rudolph | ff251d2 | 2021-02-11 15:09:22 +0100 | [diff] [blame] | 36 | return "Micron"; |
| 37 | default: |
| 38 | return NULL; |
| 39 | } |
| 40 | } |