]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit0caffcc63d1b6baad0a3d2971060312ca9d55621
tree0fe96e4a2a44c00d3234048c2a5e3fca99d94d6b
parentc0c7007f33a90db374701bed6df9b2e3cc985273
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]