diff options
author | Hao Wang <wanghao11@inspur.com> | 2022-06-14 10:56:40 +0800 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2023-06-26 03:07:38 +0000 |
commit | 634c7a4450ff00b5eeff792822b9ac6fe12b3570 (patch) | |
tree | 66bdf5df8f7b299e7d2b7574439e51e76c60ab81 /src/lib | |
parent | 35fb55ac3dd3fb6d8ac956d1ab3560af6e092626 (diff) |
lib/smbios: Add a config string for BIOS Vendor in SMBIOS Type 0
BIOS Vendor in SMBIOS Type 0 would be who built the firmware so create a
config string with default "coreboot" to make it changeable. Vendors
could update it by adding a Kconfig in the site-local directory.
Change-Id: I6dfcca338ffc48b150c966b9aefcefe928704d24
Signed-off-by: Yiwei Tang <tangyiwei.2022@bytedance.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75737
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/smbios.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |