summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLijian Zhao <lijian.zhao@intel.com>2019-05-16 07:32:42 -0700
committerDuncan Laurie <dlaurie@chromium.org>2019-05-18 20:32:54 +0000
commit6eaa78144cb7c5b60d3d3d8467b1a0a23ef0db70 (patch)
tree691936bf11043cddce71f00c26197ff4914dee07
parent46340d076a8205946c841dd637db7fd4ebd31b15 (diff)
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>
-rw-r--r--src/arch/x86/smbios.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c
index 589f4f0e30..90cd674198 100644
--- a/src/arch/x86/smbios.c
+++ b/src/arch/x86/smbios.c
@@ -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;