]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi: Use the correct GUID for the SMBIOS table
authorSimon Glass <sjg@chromium.org>
Sun, 31 Dec 2023 15:25:49 +0000 (08:25 -0700)
committerSimon Glass <sjg@chromium.org>
Sun, 7 Jan 2024 20:45:07 +0000 (13:45 -0700)
commit138e69149b84180753da4dca59d4cb4f03da3ca7
treef7c9bf2182ec1741106adcad294c491bc369f947
parentb2b58e1ef5c3f60ce6db1d6192c265d4ee45b170
efi: Use the correct GUID for the SMBIOS table

EFI does not use the 'anchor string' to determine the SMBIOS table
version, instead preferring to have two separate GUIDs. Use the correct
one, depending on the table version.

Call unmap_system() to balance to the use of map_sysmem()

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/efi_api.h
lib/efi_loader/efi_smbios.c