summaryrefslogtreecommitdiff
path: root/include/efi_loader.h
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2020-11-11 12:18:11 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-11-14 07:05:46 +0300
commitc1c021052c7a03ed0226b4ce3e9b20c0498e2ccb (patch)
tree0fe96e4a2a44c00d3234048c2a5e3fca99d94d6b /include/efi_loader.h
parent915e3ae5682dc41b32818e918b20c9aea0ba8076 (diff)
downloadu-boot-c1c021052c7a03ed0226b4ce3e9b20c0498e2ccb.tar.xz
efi_loader: Add basic EFI_TCG2_PROTOCOL support
Since U-boot EFI implementation is getting richer it makes sense to add support for EFI_TCG2_PROTOCOL taking advantage of any hardware TPM available on the device. This is the initial implementation of the protocol which only adds support for GetCapability(). It's limited in the newer and safer TPMv2 devices. Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Acked-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r--include/efi_loader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h
index 455b9c8031..3c68b85b68 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -408,6 +408,8 @@ efi_status_t efi_console_register(void);
efi_status_t efi_disk_register(void);
/* Called by efi_init_obj_list() to install EFI_RNG_PROTOCOL */
efi_status_t efi_rng_register(void);
+/* Called by efi_init_obj_list() to install EFI_TCG2_PROTOCOL */
+efi_status_t efi_tcg2_register(void);
/* Create handles and protocols for the partitions of a block device */
int efi_disk_create_partitions(efi_handle_t parent, struct blk_desc *desc,
const char *if_typename, int diskid,