projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da84153
)
Correct SPL use of EFI_TCG2_PROTOCOL
author
Simon Glass
<sjg@chromium.org>
Sun, 5 Feb 2023 22:39:46 +0000
(15:39 -0700)
committer
Tom Rini
<trini@konsulko.com>
Thu, 9 Feb 2023 21:32:26 +0000
(16:32 -0500)
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_EFI_TCG2_PROTOCOL defined in Kconfig
Signed-off-by: Simon Glass <sjg@chromium.org>
lib/efi_loader/efi_image_loader.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_image_loader.c
b/lib/efi_loader/efi_image_loader.c
index
eaf75a5
..
26df0da
100644
(file)
--- a/
lib/efi_loader/efi_image_loader.c
+++ b/
lib/efi_loader/efi_image_loader.c
@@
-938,7
+938,7
@@
efi_status_t efi_load_pe(struct efi_loaded_image_obj *handle,
goto err;
}
-#if
CONFIG_IS_ENABLED(
EFI_TCG2_PROTOCOL)
+#if
IS_ENABLED(CONFIG_
EFI_TCG2_PROTOCOL)
/* Measure an PE/COFF image */
ret = tcg2_measure_pe_image(efi, efi_size, handle, loaded_image_info);
if (ret == EFI_SECURITY_VIOLATION) {