From 3fd57d8239e036ef203e6d1c8db111b7395214db Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Sun, 19 Jun 2016 12:01:09 -0700 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/353913 Reviewed-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/15299 Tested-by: build bot (Jenkins) Reviewed-by: Philipp Deppenwiese Reviewed-by: Paul Menzel --- src/drivers/spi/tpm/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/drivers/spi/tpm') 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 -- cgit v1.2.3