summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLijian Zhao <lijian.zhao@intel.com>2019-04-11 00:45:10 -0700
committerDuncan Laurie <dlaurie@chromium.org>2019-04-19 01:39:03 +0000
commit10ea93c3341dcae75b29e7dd049a948260d0f190 (patch)
treedcf93304550b7d7266fd47f2695b0bafbd6f241a /src/include
parent83ad5a998dbd950aa62788a125d0332a8b450f91 (diff)
smbios: Add type 17 device/bank locator override
Current SMBIOS type 17 device and bank locator string is like "Channel-x-Dimm-x" and "Bank-x", x is deciminal number. Give silicon or mainboard vendor a chance to replace with something matches with silkscreen. Signed-off-by: Lijian Zhao <lijian.zhao@intel.com> Change-Id: I54f7282244cb25a05780a3cdb9d1f5405c600513 Reviewed-on: https://review.coreboot.org/c/coreboot/+/32279 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/smbios.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/smbios.h b/src/include/smbios.h
index 08e6b61ef7..5e069470e1 100644
--- a/src/include/smbios.h
+++ b/src/include/smbios.h
@@ -19,6 +19,7 @@
#define SMBIOS_H
#include <types.h>
+#include <memory_info.h>
unsigned long smbios_write_tables(unsigned long start);
int smbios_add_string(u8 *start, const char *str);
@@ -629,6 +630,8 @@ struct smbios_type127 {
void smbios_fill_dimm_manufacturer_from_id(uint16_t mod_id,
struct smbios_type17 *t);
+void smbios_fill_dimm_locator(const struct dimm_info *dimm,
+ struct smbios_type17 *t);
smbios_board_type smbios_mainboard_board_type(void);