]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: capsule: drop __weak from efi_get_public_key_data()
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 2 Nov 2021 00:55:01 +0000 (09:55 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 7 Nov 2021 17:36:55 +0000 (18:36 +0100)
As we discussed in ML, currently a device tree is the only place
to store public keys for capsule authentication. So __weak is not
necessary for now.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/efi_loader/efi_capsule.c

index 44f5da61a9bea0c7c5a29c970609f2cec52281aa..850937fd120f33b9f091342980fe4f0b8108cea8 100644 (file)
@@ -256,7 +256,7 @@ out:
 }
 
 #if defined(CONFIG_EFI_CAPSULE_AUTHENTICATE)
-int __weak efi_get_public_key_data(void **pkey, efi_uintn_t *pkey_len)
+int efi_get_public_key_data(void **pkey, efi_uintn_t *pkey_len)
 {
        const void *fdt_blob = gd->fdt_blob;
        const void *blob;