diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Kconfig | 7 | ||||
-rw-r--r-- | src/lib/smbios.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/Kconfig b/src/Kconfig index 8e72f2deb5..f5ba4fc784 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -891,6 +891,13 @@ config SMBIOS_PROVIDED_BY_MOBO if GENERATE_SMBIOS_TABLES +config BIOS_VENDOR + prompt "SMBIOS BIOS Vendor name" + string + default "coreboot" + help + The BIOS Vendor name to store in the SMBIOS Type0 table. + config MAINBOARD_SERIAL_NUMBER prompt "SMBIOS Serial Number" if !SMBIOS_PROVIDED_BY_MOBO string diff --git a/src/lib/smbios.c b/src/lib/smbios.c index 3b3360cf2d..deee193be9 100644 --- a/src/lib/smbios.c +++ b/src/lib/smbios.c @@ -371,7 +371,7 @@ static int smbios_write_type0(unsigned long *current, int handle) struct smbios_type0 *t = smbios_carve_table(*current, SMBIOS_BIOS_INFORMATION, sizeof(*t), handle); - t->vendor = smbios_add_string(t->eos, "coreboot"); + t->vendor = smbios_add_string(t->eos, CONFIG_BIOS_VENDOR); t->bios_release_date = smbios_add_string(t->eos, coreboot_dmi_date); if (CONFIG(CHROMEOS_NVS)) { |