]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: utility function to check the variable name is "Boot####"
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Fri, 2 Dec 2022 04:59:35 +0000 (13:59 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 2 Dec 2022 18:17:25 +0000 (19:17 +0100)
commit1e70a1cceb427dd78c37050c7bee9fa3f1fc7326
tree474db1ab67ae685cb3755585319c1c5e85cf523c
parent4e73ac857d3aadb259e0f9fecd0d2a6560493071
efi_loader: utility function to check the variable name is "Boot####"

Some commands need to enumerate the existing UEFI load
option variable("Boot####"). This commit transfers some code
from cmd/efidebug.c to lib/efi_loder/, then exposes
efi_varname_is_load_option() function to check whether
the UEFI variable name is "Boot####".

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/efidebug.c
include/efi_loader.h
lib/efi_loader/efi_helper.c