summaryrefslogtreecommitdiff
path: root/src/drivers/spi
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2016-06-19 12:01:09 -0700
committerMartin Roth <martinroth@google.com>2016-06-23 17:22:06 +0200
commit3fd57d8239e036ef203e6d1c8db111b7395214db (patch)
tree85d04f39505c0a70ad856eb1e7ea663711b13cdb /src/drivers/spi
parente31d24366ca5f344e8aed14bb6892ba1b8507f94 (diff)
kconfig: add missing SPI TPM CS config definition
To fully define TPM attachment to a SPI interface both bus and CS (chip select) settings are required. Add the missing CS configuration option. BRANCH=none BUG=chrome-os-partner:50645 TEST=with the rest of the patches applied it is possible to compile in and run TPM2 SPI driver. Change-Id: If297df8e5b9526f156ed1414eb9db317d6af5b33 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/353913 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/15299 Tested-by: build bot (Jenkins) Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@googlemail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/drivers/spi')
-rw-r--r--src/drivers/spi/tpm/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/spi/tpm/Kconfig b/src/drivers/spi/tpm/Kconfig
index e2a6bb6527..49ab2a6bfe 100644
--- a/src/drivers/spi/tpm/Kconfig
+++ b/src/drivers/spi/tpm/Kconfig
@@ -6,3 +6,8 @@ config DRIVER_TPM_SPI_BUS
hex "SPI bus TPM chip is connected to"
default 0
depends on SPI_TPM
+
+config DRIVER_TPM_SPI_CHIP
+ int "Chip Select of the TPM chip on its SPI bus"
+ default 0
+ depends on SPI_TPM