summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2021-06-09 18:14:47 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-06-28 19:57:13 +0200
commitff192304b69944734a661227c2d00aab5b15cdaf (patch)
treebb02650c63e3053e4dfd16317c3298916d1ca1fa /lib
parenta86ed41bff94f90af2e1a8798e20920ef0353e97 (diff)
downloadu-boot-ff192304b69944734a661227c2d00aab5b15cdaf.tar.gz
smbios: Fix BIOS Characteristics Extension Byte 2
We currently define the EFI support of an SMBIOS table as the third bit of "BIOS Characteristics Extension Byte 1". The latest DMTF spec defines it on "BIOS Characteristics Extension Byte 2". Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Remove superfluous assignment. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/smbios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/smbios.c b/lib/smbios.c
index 26df2bf123..b69f5e8c48 100644
--- a/lib/smbios.c
+++ b/lib/smbios.c
@@ -229,9 +229,9 @@ static int smbios_write_type0(ulong *current, int handle,
t->bios_characteristics_ext1 = BIOS_CHARACTERISTICS_EXT1_ACPI;
#endif
#ifdef CONFIG_EFI_LOADER
- t->bios_characteristics_ext1 |= BIOS_CHARACTERISTICS_EXT1_UEFI;
+ t->bios_characteristics_ext2 |= BIOS_CHARACTERISTICS_EXT2_UEFI;
#endif
- t->bios_characteristics_ext2 = BIOS_CHARACTERISTICS_EXT2_TARGET;
+ t->bios_characteristics_ext2 |= BIOS_CHARACTERISTICS_EXT2_TARGET;
/* bios_major_release has only one byte, so drop century */
t->bios_major_release = U_BOOT_VERSION_NUM % 100;