diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-02-15 17:39:56 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-02-21 19:07:18 +0000 |
commit | 94ad37619f95a07b94a6a9a570bd74727eb830c4 (patch) | |
tree | cf3fd05368dc981b120cd3c070f110789ea57023 /src/arch | |
parent | 16d05daffa827f4e6ec26e34aaf20caae6600cc9 (diff) | |
download | coreboot-94ad37619f95a07b94a6a9a570bd74727eb830c4.tar.xz |
SMBIOS: Fix bios version
Change-Id: I142f08ed3c2704b8fde6d176f23772f5d6b33e85
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/31437
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/smbios.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c index f816647ee2..da2569443d 100644 --- a/src/arch/x86/smbios.c +++ b/src/arch/x86/smbios.c @@ -382,7 +382,9 @@ static int smbios_write_type0(unsigned long *current, int handle) t->extended_bios_rom_size = DIV_ROUND_UP(CONFIG_ROM_SIZE, MiB); } - t->system_bios_major_release = 4; + t->system_bios_major_release = coreboot_major_revision; + t->system_bios_minor_release = coreboot_minor_revision; + t->bios_characteristics = BIOS_CHARACTERISTICS_PCI_SUPPORTED | BIOS_CHARACTERISTICS_SELECTABLE_BOOT | |