diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-05-15 11:57:25 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-25 20:13:00 -0400 |
commit | 2bae712f7ab9525421662fbbbe1445b00cbee5b0 (patch) | |
tree | a013317a2ff5f3fbf1f332184b1551a337a991f2 /drivers/tpm/Kconfig | |
parent | 2dffe1c6adc0dfb1fdce8a32e88a95ddec9004a7 (diff) | |
download | u-boot-2bae712f7ab9525421662fbbbe1445b00cbee5b0.tar.gz |
tpm: add a Sandbox TPMv2.x driver
This driver can emulate all the basic functionalities of a TPMv2.x
chip and should behave like them during regular testing.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/tpm/Kconfig')
-rw-r--r-- | drivers/tpm/Kconfig | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/tpm/Kconfig b/drivers/tpm/Kconfig index 2de9862371..93264ddd34 100644 --- a/drivers/tpm/Kconfig +++ b/drivers/tpm/Kconfig @@ -21,7 +21,7 @@ config TPM_TIS_SANDBOX bool "Enable sandbox TPM driver" depends on TPM_V1 && SANDBOX help - This driver emulates a TPM, providing access to base functions + This driver emulates a TPMv1.x, providing access to base functions such as reading and writing TPM private data. This is enough to support Chrome OS verified boot. Extend functionality is not implemented. @@ -129,6 +129,15 @@ config TPM_V2 if TPM_V2 && !TPM_V1 +config TPM2_TIS_SANDBOX + bool "Enable sandbox TPMv2.x driver" + depends on TPM_V2 && SANDBOX + select TPM_DRIVER_SELECTED + help + This driver emulates a TPMv2.x, providing access to base functions + such as basic configuration, PCR extension and PCR read. Extended + functionalities are not implemented. + config TPM2_TIS_SPI bool "Enable support for TPMv2.x SPI chips" depends on TPM_V2 && DM_SPI |