]> git.baikalelectronics.ru Git - uboot.git/commit
smbios: error handling for invalid addresses
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 15 May 2021 16:07:47 +0000 (18:07 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 24 Jul 2021 08:49:51 +0000 (10:49 +0200)
commitf07a0612cc37f89750d2ec5dc3311db72203f7ca
treeaad6c530d29fcb91f35e632e8237c43fb4f73b16
parentbc176bfc369854f0ebed2585965f275833421222
smbios: error handling for invalid addresses

SMBIOS tables only support 32bit addresses. If we don't have memory here
handle the error gracefully:

* on x86_64 fail to start U-Boot
* during UEFI booting ignore the missing table

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/tables.c
include/smbios.h
lib/efi_loader/efi_smbios.c
lib/smbios.c