Correct SPL use of EFI_TCG2_PROTOCOL
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>
This commit is contained in:
parent
da841537ce
commit
07754cb0ae
|
|
@ -938,7 +938,7 @@ efi_status_t efi_load_pe(struct efi_loaded_image_obj *handle,
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CONFIG_IS_ENABLED(EFI_TCG2_PROTOCOL)
|
#if IS_ENABLED(CONFIG_EFI_TCG2_PROTOCOL)
|
||||||
/* Measure an PE/COFF image */
|
/* Measure an PE/COFF image */
|
||||||
ret = tcg2_measure_pe_image(efi, efi_size, handle, loaded_image_info);
|
ret = tcg2_measure_pe_image(efi, efi_size, handle, loaded_image_info);
|
||||||
if (ret == EFI_SECURITY_VIOLATION) {
|
if (ret == EFI_SECURITY_VIOLATION) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue