From d518c7a2d7ba839f0480a933a7a7c6d7f797e3bf Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 4 Nov 2013 17:38:32 -0800 Subject: 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 Change-Id: I43be8eea0acbdaef58ef256a2bc5336b83368a0e Reviewed-on: https://chromium-review.googlesource.com/175670 Commit-Queue: Stefan Reinauer Tested-by: Stefan Reinauer Reviewed-by: David Hendricks (cherry picked from commit 3fc8515b9dcef66998658e1aa5c020d22509810c) Signed-off-by: Isaac Christensen Reviewed-on: http://review.coreboot.org/6855 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/drivers/i2c/tpm/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/drivers/i2c/tpm/Kconfig') 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 -- cgit v1.2.3