diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-05-15 11:57:21 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-25 20:12:59 -0400 |
commit | eb46910b4bf03e2651533473dd75267704a6c659 (patch) | |
tree | b47f29dc5a0c380c68ce629cda672e8b8111c514 /drivers/tpm/Kconfig | |
parent | b9dd4fabbeed0fcb8bb1811044266d13df8d379f (diff) | |
download | u-boot-eb46910b4bf03e2651533473dd75267704a6c659.tar.gz |
tpm: add support for TPMv2.x SPI modules
Add the tpm2_tis_spi driver that should support any TPMv2 compliant
(SPI) module.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/tpm/Kconfig')
-rw-r--r-- | drivers/tpm/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/tpm/Kconfig b/drivers/tpm/Kconfig index bc11f61e91..2de9862371 100644 --- a/drivers/tpm/Kconfig +++ b/drivers/tpm/Kconfig @@ -129,6 +129,16 @@ config TPM_V2 if TPM_V2 && !TPM_V1 +config TPM2_TIS_SPI + bool "Enable support for TPMv2.x SPI chips" + depends on TPM_V2 && DM_SPI + select TPM_DRIVER_SELECTED + help + This driver supports TPMv2.x devices connected on the SPI bus. + The usual TPM operations and the 'tpm' command can be used to talk + to the device using the standard TPM Interface Specification (TIS) + protocol. + endif # TPM_V2 endmenu |