summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Marinho <jose.marinho@arm.com>2021-08-04 16:59:10 +0100
committerJose Marinho <jose.marinho@arm.com>2021-08-09 11:42:33 +0100
commit8a700a1d3fc7a73f326cb22f847f599b36ffc93b (patch)
tree6288d2c47abf92a83c91bd41d358968334e529ec
parent7c3a376667a2e12afd673718194f403989daf3e3 (diff)
temporary disable capsule auth
-rw-r--r--lib/efi_loader/efi_capsule.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_capsule.c b/lib/efi_loader/efi_capsule.c
index 74399e2d2e..fd7b3f6e05 100644
--- a/lib/efi_loader/efi_capsule.c
+++ b/lib/efi_loader/efi_capsule.c
@@ -453,7 +453,7 @@ static efi_status_t efi_capsule_update_firmware(
image_binary = (void *)image + sizeof(*image);
image_binary_size = image->update_image_size;
vendor_code = image_binary + image_binary_size;
- if (!IS_ENABLED(CONFIG_EFI_CAPSULE_AUTHENTICATE) &&
+/* if (!IS_ENABLED(CONFIG_EFI_CAPSULE_AUTHENTICATE) &&
(image->image_capsule_support &
CAPSULE_SUPPORT_AUTHENTICATION)) {
ret = efi_remove_auth_hdr(&image_binary,
@@ -461,6 +461,7 @@ static efi_status_t efi_capsule_update_firmware(
if (ret != EFI_SUCCESS)
goto out;
}
+*/
abort_reason = NULL;
ret = EFI_CALL(fmp->set_image(fmp, image->update_image_index,