
Hi Ilias,
On Sun, 7 Nov 2021 at 14:33, Ilias Apalodimas ilias.apalodimas@linaro.org wrote:
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.
Signed-off-by: Ilias Apalodimas ilias.apalodimas@linaro.org
drivers/tpm/Kconfig | 9 +++ drivers/tpm/Makefile | 1 + drivers/tpm/tpm2_tis_mmio.c | 151 ++++++++++++++++++++++++++++++++++++ 3 files changed, 161 insertions(+) create mode 100644 drivers/tpm/tpm2_tis_mmio.c
Reviewed-by: Simon Glass sjg@chromium.org
We normally put a blank line before the final 'return' in functions.
Regards, Simon