]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: capsule: add back efi_get_public_key_data()
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Thu, 7 Oct 2021 06:23:32 +0000 (15:23 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 25 Oct 2021 19:13:06 +0000 (21:13 +0200)
commitad59e0b39d7ca28c652e09ff78261d1150de0f75
tree6ab339e56499f4b63f06b97f9bf7900d1c0d1123
parent6dcba3628dde21b90177bdc0838b1e0c6cfe73ff
efi_loader: capsule: add back efi_get_public_key_data()

The commit ae6e7a0a65aa ("Revert "efi_capsule: Move signature from DTB to
.rodata"") failed to revert the removal of efi_get_public_key_data().

Add back this function and move it under lib/efi_loader so that other
platforms can utilize it. It is now declared as a weak function so that
it can be replaced with a platform-specific implementation.

Fixes: ae6e7a0a65aa ("Revert "efi_capsule: Move signature from DTB to
.rodata"")
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_capsule.c