efi_loader: Add basic EFI_TCG2_PROTOCOL support
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Wed, 11 Nov 2020 09:18:11 +0000 (11:18 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 14 Nov 2020 04:05:46 +0000 (05:05 +0100)
commitc1c021052c7a03ed0226b4ce3e9b20c0498e2ccb
tree0fe96e4a2a44c00d3234048c2a5e3fca99d94d6b
parent915e3ae5682dc41b32818e918b20c9aea0ba8076
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>
include/efi_loader.h
include/efi_tcg2.h [new file with mode: 0644]
lib/efi_loader/Kconfig
lib/efi_loader/Makefile
lib/efi_loader/efi_setup.c
lib/efi_loader/efi_tcg2.c [new file with mode: 0644]