diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2020-11-11 11:18:11 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-11-14 05:05:46 +0100 |
commit | c1c021052c7a03ed0226b4ce3e9b20c0498e2ccb (patch) | |
tree | 0fe96e4a2a44c00d3234048c2a5e3fca99d94d6b /include/efi_loader.h | |
parent | 915e3ae5682dc41b32818e918b20c9aea0ba8076 (diff) | |
download | u-boot-c1c021052c7a03ed0226b4ce3e9b20c0498e2ccb.tar.gz |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index 455b9c8031a..3c68b85b68e 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, |