aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-12-23 02:03:34 +0100
committerTom Rini <trini@konsulko.com>2024-01-16 17:05:29 -0500
commit1c5aab803c0b0f07be1d3b0029f4031463497acf (patch)
treef7eadcb44aa89ba17bf9376d91f4f1e676a947b1 /lib
parent481ffca4857d08f31e4ee179c5a0e609957869b1 (diff)
downloadu-boot-1c5aab803c0b0f07be1d3b0029f4031463497acf.zip
u-boot-1c5aab803c0b0f07be1d3b0029f4031463497acf.tar.gz
u-boot-1c5aab803c0b0f07be1d3b0029f4031463497acf.tar.bz2
smbios: copy QEMU tables
QEMU provides SMBIOS tables with detailed information. We should not try to replicate them in U-Boot. If we want to inform about U-Boot, we can add a Firmware Inventory Information (type 45) table in future. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_smbios.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_smbios.c b/lib/efi_loader/efi_smbios.c
index b2ec1f7..8d2ef6d 100644
--- a/lib/efi_loader/efi_smbios.c
+++ b/lib/efi_loader/efi_smbios.c
@@ -60,7 +60,9 @@ static int install_smbios_table(void)
ulong addr;
void *buf;
- if (!IS_ENABLED(CONFIG_GENERATE_SMBIOS_TABLE) || IS_ENABLED(CONFIG_X86))
+ if (!IS_ENABLED(CONFIG_GENERATE_SMBIOS_TABLE) ||
+ IS_ENABLED(CONFIG_X86) ||
+ IS_ENABLED(CONFIG_QFW_SMBIOS))
return 0;
/* Align the table to a 4KB boundary to keep EFI happy */