SMBIOS: Fix SPD manufacture ID decoder

According to JEP106 from JEDEC, fix manufacture ID of Crucial,
Super Talnet and Micron.

Signed-off-by: Lijian Zhao <lijian.zhao@intel.com>
Change-Id: I10a268a7f3bde405b95bd3a16d5d121be623c7ed
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32837
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
Lijian Zhao 2019-05-16 07:32:42 -07:00 committed by Duncan Laurie
parent 46340d076a
commit 6eaa78144c
1 changed files with 4 additions and 4 deletions

View File

@ -140,7 +140,7 @@ void smbios_fill_dimm_manufacturer_from_id(uint16_t mod_id,
struct smbios_type17 *t)
{
switch (mod_id) {
case 0x2c80:
case 0x9b85:
t->manufacturer = smbios_add_string(t->eos,
"Crucial");
break;
@ -172,9 +172,9 @@ void smbios_fill_dimm_manufacturer_from_id(uint16_t mod_id,
t->manufacturer = smbios_add_string(t->eos,
"Hynix/Hyundai");
break;
case 0xb502:
case 0x3486:
t->manufacturer = smbios_add_string(t->eos,
"SuperTalent");
"Super Talent");
break;
case 0xcd04:
t->manufacturer = smbios_add_string(t->eos,
@ -188,7 +188,7 @@ void smbios_fill_dimm_manufacturer_from_id(uint16_t mod_id,
t->manufacturer = smbios_add_string(t->eos,
"Elpida");
break;
case 0xff2c:
case 0x2c80:
t->manufacturer = smbios_add_string(t->eos,
"Micron");
break;