]> git.dujemihanovic.xyz Git - u-boot.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)
commit3ac026ae46f2c55b11b9544f7e8770eaadd2982c
tree474db1ab67ae685cb3755585319c1c5e85cf523c
parent78b1ccc430e427d0b98e3bfcd04179eb77c14148
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