[coreboot-gerrit] Patch set updated for coreboot: 1faab25 arch/x86/boot/smbios: Rename fill_dimm_manufacturer and make public

Timothy Pearson (tpearson@raptorengineeringinc.com) gerrit at coreboot.org
Sat Mar 28 05:07:05 CET 2015


Timothy Pearson (tpearson at raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9136

-gerrit

commit 1faab25ef4f51ff0b80181775c0bf630dabb60a3
Author: Timothy Pearson <tpearson at raptorengineeringinc.com>
Date:   Fri Mar 27 23:05:36 2015 -0500

    arch/x86/boot/smbios: Rename fill_dimm_manufacturer and make public
    
    Change-Id: Ib85701965337bb6231d8df59d43789dfe8a036d3
    Signed-off-by: Timothy Pearson <tpearson at raptorengineeringinc.com>
---
 src/arch/x86/boot/smbios.c | 4 ++--
 src/include/smbios.h       | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/arch/x86/boot/smbios.c b/src/arch/x86/boot/smbios.c
index 9931ff3..4b96d61 100644
--- a/src/arch/x86/boot/smbios.c
+++ b/src/arch/x86/boot/smbios.c
@@ -123,7 +123,7 @@ static int smbios_processor_name(char *start)
 }
 
 /* this function will fill the corresponding manufacturer */
-static void fill_dimm_manufacturer(uint16_t mod_id, struct smbios_type17 *t)
+void smbios_fill_dimm_manufacturer_from_id(uint16_t mod_id, struct smbios_type17 *t)
 {
 	switch (mod_id) {
 		case 0x987f:
@@ -191,7 +191,7 @@ static int create_smbios_type17_for_dimm(struct dimm_info *dimm,
 			break;
 	}
 
-	fill_dimm_manufacturer(dimm->mod_id, t);
+	smbios_fill_dimm_manufacturer_from_id(dimm->mod_id, t);
 	/* put '\0' in the end of data */
 	length = sizeof(dimm->serial);
 	dimm->serial[length - 1] = '\0';
diff --git a/src/include/smbios.h b/src/include/smbios.h
index da38419..7d1c333 100644
--- a/src/include/smbios.h
+++ b/src/include/smbios.h
@@ -427,4 +427,6 @@ struct smbios_type127 {
 	u8 eos[2];
 } __attribute__((packed));
 
+void smbios_fill_dimm_manufacturer_from_id(uint16_t mod_id, struct smbios_type17 *t);
+
 #endif



More information about the coreboot-gerrit mailing list