aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/i2c/tpm/Kconfig
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2013-11-04 17:38:32 -0800
committerIsaac Christensen <isaac.christensen@se-eng.com>2014-09-10 19:37:49 +0200
commitd518c7a2d7ba839f0480a933a7a7c6d7f797e3bf (patch)
tree7f4fea8a6f98c3ad1d2535e5b60cb96cc4965eed /src/drivers/i2c/tpm/Kconfig
parent5c85e66b178c4fb4ddc6bcd98d13f43f9ad58792 (diff)
tpm: Clean up I2C TPM driver
Drop a lot of u-boot-isms and share common TIS API between I2C driver and LPC driver. Signed-off-by: Stefan Reinauer <reinauer@google.com> Change-Id: I43be8eea0acbdaef58ef256a2bc5336b83368a0e Reviewed-on: https://chromium-review.googlesource.com/175670 Commit-Queue: Stefan Reinauer <reinauer@chromium.org> Tested-by: Stefan Reinauer <reinauer@chromium.org> Reviewed-by: David Hendricks <dhendrix@chromium.org> (cherry picked from commit 3fc8515b9dcef66998658e1aa5c020d22509810c) Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com> Reviewed-on: http://review.coreboot.org/6855 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/drivers/i2c/tpm/Kconfig')
-rw-r--r--src/drivers/i2c/tpm/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/i2c/tpm/Kconfig b/src/drivers/i2c/tpm/Kconfig
index 2456204960..cb754bd212 100644
--- a/src/drivers/i2c/tpm/Kconfig
+++ b/src/drivers/i2c/tpm/Kconfig
@@ -2,6 +2,11 @@ config I2C_TPM
bool "I2C TPM"
depends on !PC80 # for now
+config DRIVER_TPM_I2C_BUS
+ hex "I2C TPM chip bus"
+ default 9 # FIXME, workaround for Kconfig BS
+ depends on I2C_TPM
+
config DRIVER_TPM_I2C_ADDR
hex "I2C TPM chip address"
default 2 # FIXME, workaround for Kconfig BS