]> git.baikalelectronics.ru Git - uboot.git/commit
eficonfig: use efi_get_next_variable_name_int()
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Fri, 2 Dec 2022 04:59:36 +0000 (13:59 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 2 Dec 2022 18:17:25 +0000 (19:17 +0100)
commit9ec7398c266c4df8b3863719eade82ea401c8375
tree3dbcd3d2221bd0d464bf30c0d19d8810fde0b412
parent1e70a1cceb427dd78c37050c7bee9fa3f1fc7326
eficonfig: use efi_get_next_variable_name_int()

eficonfig command reads all possible UEFI load options
from 0x0000 to 0xFFFF to construct the menu. This takes too much
time in some environment.
This commit uses efi_get_next_variable_name_int() to read all
existing UEFI load options to significantlly reduce the count of
efi_get_var() call.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
cmd/eficonfig.c