diff options
author | Timothy Pearson <tpearson@raptorengineeringinc.com> | 2015-03-27 23:05:36 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@gmail.com> | 2015-03-29 16:34:07 +0200 |
commit | 4785f2a358ea39d28086f85fdb7a9edeaf62dcba (patch) | |
tree | 5ece69bdaa37634f86dea7e6512f1bba5424936d /src/arch/x86/boot/smbios.c | |
parent | 821217b60fbaf58cdda6cfdc03d1f0fc1fc31011 (diff) |
arch/x86/boot/smbios: Rename fill_dimm_manufacturer and make public
Change-Id: Ib85701965337bb6231d8df59d43789dfe8a036d3
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Reviewed-on: http://review.coreboot.org/9136
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/arch/x86/boot/smbios.c')
-rw-r--r-- | src/arch/x86/boot/smbios.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/boot/smbios.c b/src/arch/x86/boot/smbios.c index 9931ff3dbe..4b96d61dcd 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'; |