]> git.dujemihanovic.xyz Git - u-boot.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)
commit7a6fb28c8e4b03bc37b05936ae5fa4c16c278520
tree6ab339e56499f4b63f06b97f9bf7900d1c0d1123
parentc5e81fddf2f0b0068f4763423cd2735e2769cf29
efi_loader: capsule: add back efi_get_public_key_data()

The commit 47a25e81d35c ("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: 47a25e81d35c ("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