diff options
author | Simon Glass <sjg@chromium.org> | 2018-06-17 14:09:42 +0200 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2018-06-17 14:09:42 +0200 |
commit | b23908d3c48a37c46c6a26df2cdeab1610b360ba (patch) | |
tree | 0019944e2aa3abc4b752127e9a13a6936e95ad9a /drivers/firmware/dmi_scan.c | |
parent | 29dcea88779c856c7dc92040a0c01233263101d4 (diff) | |
download | blackbird-op-linux-b23908d3c48a37c46c6a26df2cdeab1610b360ba.tar.gz blackbird-op-linux-b23908d3c48a37c46c6a26df2cdeab1610b360ba.zip |
firmware: dmi: Add access to the SKU ID string
This is used in some systems from user space for determining the identity
of the device.
Expose this as a file so that that user-space tools don't need to read
from /sys/firmware/dmi/tables/DMI
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'drivers/firmware/dmi_scan.c')
-rw-r--r-- | drivers/firmware/dmi_scan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/dmi_scan.c b/drivers/firmware/dmi_scan.c index 54e66adef252..f2483548cde9 100644 --- a/drivers/firmware/dmi_scan.c +++ b/drivers/firmware/dmi_scan.c @@ -447,6 +447,7 @@ static void __init dmi_decode(const struct dmi_header *dm, void *dummy) dmi_save_ident(dm, DMI_PRODUCT_VERSION, 6); dmi_save_ident(dm, DMI_PRODUCT_SERIAL, 7); dmi_save_uuid(dm, DMI_PRODUCT_UUID, 8); + dmi_save_ident(dm, DMI_PRODUCT_SKU, 25); dmi_save_ident(dm, DMI_PRODUCT_FAMILY, 26); break; case 2: /* Base Board Information */ |