summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/intel/tglrvp/mainboard.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/intel/tglrvp/mainboard.c b/src/mainboard/intel/tglrvp/mainboard.c
index d74c11c8ca..9af9d42911 100644
--- a/src/mainboard/intel/tglrvp/mainboard.c
+++ b/src/mainboard/intel/tglrvp/mainboard.c
@@ -18,6 +18,16 @@
#include <device/device.h>
#include <soc/gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>
+#include <smbios.h>
+
+const char *smbios_system_sku(void)
+{
+ static char sku_str[7] = ""; /* sku{0..255} */
+ uint32_t sku_id = 255;
+
+ snprintf(sku_str, sizeof(sku_str), "sku%u", sku_id);
+ return sku_str;
+}
static void mainboard_init(void *chip_info)
{