]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: fix CapsuleMax variable reporting
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Fri, 20 Jan 2023 11:58:48 +0000 (13:58 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 20 Jan 2023 16:10:57 +0000 (17:10 +0100)
commitf661c18c5f7349093b4e47e54fb0425f5af2e08e
treec0bfae0f89389359bed0e44a021a8447d6eb069a
parent40aafb52c44729ec3f7f2fe1a1d699bd73a6cf87
efi_loader: fix CapsuleMax variable reporting

Currently the code that adds the CapsuleMax variable is under a
Kconfig named 'EFI_HAVE_CAPSULE_UPDATE.  Git history only shows a
single occurrence of that.  The IS_ENABLED should be checking for
EFI_HAVE_CAPSULE_SUPPORT

Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_setup.c