diff options
Diffstat (limited to 'src/mainboard/prodrive/hermes')
-rw-r--r-- | src/mainboard/prodrive/hermes/smbios.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/prodrive/hermes/smbios.c b/src/mainboard/prodrive/hermes/smbios.c index 02567d8777..af81e86c9a 100644 --- a/src/mainboard/prodrive/hermes/smbios.c +++ b/src/mainboard/prodrive/hermes/smbios.c @@ -2,6 +2,7 @@ #include <smbios.h> #include <types.h> +#include <string.h> #include "variants/baseboard/include/eeprom.h" @@ -26,3 +27,12 @@ const char *smbios_mainboard_serial_number(void) else return CONFIG_MAINBOARD_SERIAL_NUMBER; } + +const char *smbios_mainboard_version(void) +{ + static char version_str[8] = { 0 }; + + snprintf(version_str, sizeof(version_str), "HSI %u", get_bmc_hsi()); + + return version_str; +} |