summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTim Chu <Tim.Chu@quantatw.com>2020-12-23 19:15:21 -0800
committerPatrick Georgi <pgeorgi@google.com>2021-02-27 09:40:26 +0000
commit31b4209201c91359305ffb7a877249103340d349 (patch)
treede5d17b482bdd0002e9e51c4742d187d41119e33 /src/include
parent0185d6d7604f0de5ea16c20860b25b8202a29d0a (diff)
downloadcoreboot-31b4209201c91359305ffb7a877249103340d349.tar.xz
arch/x86/smbios: Update SMBIOS type 17 asset tag
Add SMBIOS type 17 asset tag. Use dimm locator as default value. Tested=Execute "dmidecode -t 17" to check asset tag field is correct. Signed-off-by: Tim Chu <Tim.Chu@quantatw.com> Change-Id: I323e6b4cf6b11ede253d5a2a4bfc976a3f432b05 Reviewed-on: https://review.coreboot.org/c/coreboot/+/48886 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jonathan Zhang <jonzhang@fb.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/smbios.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/smbios.h b/src/include/smbios.h
index 5cbd3c3e97..91f031ae94 100644
--- a/src/include/smbios.h
+++ b/src/include/smbios.h
@@ -958,6 +958,8 @@ struct smbios_type127 {
void smbios_fill_dimm_manufacturer_from_id(uint16_t mod_id,
struct smbios_type17 *t);
+void smbios_fill_dimm_asset_tag(const struct dimm_info *dimm,
+ struct smbios_type17 *t);
void smbios_fill_dimm_locator(const struct dimm_info *dimm,
struct smbios_type17 *t);