blob: cbbab2e3eb961cf0e1602f3b20888f2c73f22222 [file] [log] [blame]
Martin Roth2b65ba02024-02-16 10:43:48 -07001## SPDX-License-Identifier: GPL-2.0-only
2
Stefan Reinauer7cb01e02013-08-29 16:05:02 -07003config I2C_TPM
Philipp Deppenwiesec07f8fb2018-02-27 19:40:52 +01004 bool
5 help
6 I2C TPM driver is enabled!
Stefan Reinauer7cb01e02013-08-29 16:05:02 -07007
Lee Leahy1b39f172017-01-05 17:59:38 -08008config DRIVER_TIS_DEFAULT
9 bool
10 depends on I2C_TPM
Jes B. Klinkec6b041a12022-04-19 14:00:33 -070011 default n if TPM_ATMEL
Lee Leahy1b39f172017-01-05 17:59:38 -080012 default y
13
Stefan Reinauerd518c7a2013-11-04 17:38:32 -080014config DRIVER_TPM_I2C_BUS
Arthur Heymans0bb63832021-12-01 11:20:29 +010015 hex
Martin Roth3b878122016-09-30 14:43:01 -060016 default 0x9 # FIXME, workaround for Kconfig BS
Stefan Reinauerd518c7a2013-11-04 17:38:32 -080017 depends on I2C_TPM
18
Stefan Reinauer7cb01e02013-08-29 16:05:02 -070019config DRIVER_TPM_I2C_ADDR
Arthur Heymans0bb63832021-12-01 11:20:29 +010020 hex
Martin Roth3b878122016-09-30 14:43:01 -060021 default 0x2 # FIXME, workaround for Kconfig BS
Stefan Reinauer7cb01e02013-08-29 16:05:02 -070022 depends on I2C_TPM
Duncan Laurie6eb8e1d2016-09-01 15:56:44 -070023
24config DRIVER_I2C_TPM_ACPI
Jes Klinkef99f5892020-12-01 14:43:31 -080025 bool "Generate I2C TPM ACPI device" if I2C_TPM
Duncan Laurie6eb8e1d2016-09-01 15:56:44 -070026 default y if ARCH_X86 && I2C_TPM
27 default n
Lee Leahye0668e42017-01-08 11:38:14 -080028
29config DRIVER_TPM_DISPLAY_TIS_BYTES
30 bool "TPM: Display the TIS transactions to I2C TPM chip"
31 default n
32 depends on I2C_TPM
Jes B. Klinkec6b041a12022-04-19 14:00:33 -070033
34config TPM_ATMEL
35 bool
36 default n
37 help
38 The mainboard has an Atmel TPM chip.