summaryrefslogtreecommitdiffstats
path: root/src/drivers/i2c
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2021-12-01 11:20:29 +0100
committerNico Huber <nico.h@gmx.de>2022-01-17 13:50:44 +0000
commit0bb6383f5933919f84dff762b0f13e0c3c2e624d (patch)
tree772321b738fb6aa6d4269c48778836e57d5294e8 /src/drivers/i2c
parentd2e423fc8d56b692c1f754da0fda686e726779a3 (diff)
downloadcoreboot-0bb6383f5933919f84dff762b0f13e0c3c2e624d.tar.gz
coreboot-0bb6383f5933919f84dff762b0f13e0c3c2e624d.tar.bz2
coreboot-0bb6383f5933919f84dff762b0f13e0c3c2e624d.zip
drivers/i2c/tpm/Kconfig: Reduce visibility of some configs
I2C bus and address of the TPM are typically fixed on hardware so there is no need to be able to configure this in menuconfig. Change-Id: I1b6afa68fe753fb76348e0461209d218b14df7cb Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59802 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'src/drivers/i2c')
-rw-r--r--src/drivers/i2c/tpm/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/i2c/tpm/Kconfig b/src/drivers/i2c/tpm/Kconfig
index df622f079dfe..dcf9060952f0 100644
--- a/src/drivers/i2c/tpm/Kconfig
+++ b/src/drivers/i2c/tpm/Kconfig
@@ -31,12 +31,12 @@ config DRIVER_TIS_DEFAULT
default y
config DRIVER_TPM_I2C_BUS
- hex "I2C TPM chip bus"
+ hex
default 0x9 # FIXME, workaround for Kconfig BS
depends on I2C_TPM
config DRIVER_TPM_I2C_ADDR
- hex "I2C TPM chip address"
+ hex
default 0x2 # FIXME, workaround for Kconfig BS
depends on I2C_TPM