diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-12-23 02:03:34 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-01-16 17:05:29 -0500 |
commit | 1c5aab803c0b0f07be1d3b0029f4031463497acf (patch) | |
tree | f7eadcb44aa89ba17bf9376d91f4f1e676a947b1 /lib | |
parent | 481ffca4857d08f31e4ee179c5a0e609957869b1 (diff) | |
download | u-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.c | 4 |
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 */ |