]> git.dujemihanovic.xyz Git - u-boot.git/commit
tpm2: Add a TPMv2 MMIO TIS driver
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Tue, 9 Nov 2021 07:02:18 +0000 (09:02 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 10 Nov 2021 19:57:54 +0000 (20:57 +0100)
commite0ff3489974415873426188c71c613d2d28de6e3
treecc11e2ee1e28372d313c8c098c6a528d12b249d1
parent2c9626c463151f1c178b5855bc763978e3878954
tpm2: Add a TPMv2 MMIO TIS driver

Add support for devices that expose a TPMv2 though MMIO.
Apart from those devices, we can use the driver in our QEMU setups and
test TPM related code which is difficult to achieve using the sandbox
driver (e.g test the EFI TCG2 protocol).

It's worth noting that a previous patch added TPMv2 TIS core functions,
which the current driver is consuming.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
drivers/tpm/Kconfig
drivers/tpm/Makefile
drivers/tpm/tpm2_tis_mmio.c [new file with mode: 0644]