summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2017-03-08 11:21:06 -0600
committerAaron Durbin <adurbin@chromium.org>2017-03-09 19:14:49 +0100
commit1b9fc9e801d81fab7e26c0321c638dee83ca44a9 (patch)
treeb4af72d2a1936655f8742e5b6ced49bd344ae490 /src/drivers
parent7c7a477c5b468dc8e43e3acf50aa72199018e293 (diff)
drivers/spi/tpm: provide Kconfig to indicate CR50 usage
Going forward it's important to note when a CR50 is expected to be present in the system. Additionally, this Kconfig addition provides symmetry with the equivalent i2c Kconfig option. BUG=b:35775104 Change-Id: Ifbd42b8a22f407534b23459713558c77cde6935d Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/18680 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/drivers')
-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 d66d9ffec0..8a4f3a331c 100644
--- a/src/drivers/spi/tpm/Kconfig
+++ b/src/drivers/spi/tpm/Kconfig
@@ -11,3 +11,8 @@ config DRIVER_TPM_SPI_CHIP
int "Chip Select of the TPM chip on its SPI bus"
default 0
depends on SPI_TPM
+
+config MAINBOARD_HAS_SPI_TPM_CR50
+ bool
+ default n
+ depends on SPI_TPM