]> git.baikalelectronics.ru Git - uboot.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)
commit041b9eb7e34666f187f43dce512953cc40674838
treecc11e2ee1e28372d313c8c098c6a528d12b249d1
parent79aa70ae32137added4b609729a0e38a7d73ff69
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]