summaryrefslogtreecommitdiffstats
path: root/resources/libreboot/patch/kgpe-d16/0004-arch-x86-smbios-Add-Crucial-DIMM-manufacturer-ID.patch
blob: 4dd4068e287c47e70eaebcca9e7f118fbdc179b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 4daf71b080abe86e2fe61af3adbc57a710b7ea02 Mon Sep 17 00:00:00 2001
From: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: Tue, 28 Jul 2015 09:22:59 -0500
Subject: [PATCH 004/146] arch/x86/smbios: Add Crucial DIMM manufacturer ID

---
 src/arch/x86/smbios.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c
index 74288f9..6d645a3 100644
--- a/src/arch/x86/smbios.c
+++ b/src/arch/x86/smbios.c
@@ -124,6 +124,10 @@ static int smbios_processor_name(char *start)
 void smbios_fill_dimm_manufacturer_from_id(uint16_t mod_id, struct smbios_type17 *t)
 {
 	switch (mod_id) {
+		case 0x2c80:
+			t->manufacturer = smbios_add_string(t->eos,
+							    "Crucial");
+			break;
 		case 0x9801:
 			t->manufacturer = smbios_add_string(t->eos,
 							    "Kingston");
-- 
1.7.9.5