]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: capsule: Remove the check for capsule_authentication_enabled environment...
authorSughosh Ganu <sughosh.ganu@linaro.org>
Mon, 12 Apr 2021 15:05:23 +0000 (20:35 +0530)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 18 May 2021 10:36:12 +0000 (12:36 +0200)
commit6a2e26b95f046a2973a95119910cbe2554c92b46
tree9dc2d2abb7d240f500a6c6b46667658a2d560c76
parente2ae483c3b4ce5a19a53b29eabbcb9a75f4ce160
efi_loader: capsule: Remove the check for capsule_authentication_enabled environment variable

The current capsule authentication code checks if the environment
variable capsule_authentication_enabled is set, for authenticating the
capsule. This is in addition to the check for the config symbol
CONFIG_EFI_CAPSULE_AUTHENTICATE. Remove the check for the environment
variable. The capsule will now be authenticated if the config symbol
is set.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviwed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
board/emulation/common/qemu_capsule.c
lib/efi_loader/efi_firmware.c