]> git.baikalelectronics.ru Git - uboot.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)
commitcc9010701fb24963d6aeeb8b3bc4f812940dba40
tree9dc2d2abb7d240f500a6c6b46667658a2d560c76
parentc6c81bbd978bf66366fe003c99772a911ffc7f23
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