Martin Roth | 2b65ba0 | 2024-02-16 10:43:48 -0700 | [diff] [blame^] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
2 | |||||
Stefan Reinauer | 7cb01e0 | 2013-08-29 16:05:02 -0700 | [diff] [blame] | 3 | config I2C_TPM |
Philipp Deppenwiese | c07f8fb | 2018-02-27 19:40:52 +0100 | [diff] [blame] | 4 | bool |
5 | help | ||||
6 | I2C TPM driver is enabled! | ||||
Stefan Reinauer | 7cb01e0 | 2013-08-29 16:05:02 -0700 | [diff] [blame] | 7 | |
Lee Leahy | 1b39f17 | 2017-01-05 17:59:38 -0800 | [diff] [blame] | 8 | config DRIVER_TIS_DEFAULT |
9 | bool | ||||
10 | depends on I2C_TPM | ||||
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 11 | default n if TPM_ATMEL |
Lee Leahy | 1b39f17 | 2017-01-05 17:59:38 -0800 | [diff] [blame] | 12 | default y |
13 | |||||
Stefan Reinauer | d518c7a | 2013-11-04 17:38:32 -0800 | [diff] [blame] | 14 | config DRIVER_TPM_I2C_BUS |
Arthur Heymans | 0bb6383 | 2021-12-01 11:20:29 +0100 | [diff] [blame] | 15 | hex |
Martin Roth | 3b87812 | 2016-09-30 14:43:01 -0600 | [diff] [blame] | 16 | default 0x9 # FIXME, workaround for Kconfig BS |
Stefan Reinauer | d518c7a | 2013-11-04 17:38:32 -0800 | [diff] [blame] | 17 | depends on I2C_TPM |
18 | |||||
Stefan Reinauer | 7cb01e0 | 2013-08-29 16:05:02 -0700 | [diff] [blame] | 19 | config DRIVER_TPM_I2C_ADDR |
Arthur Heymans | 0bb6383 | 2021-12-01 11:20:29 +0100 | [diff] [blame] | 20 | hex |
Martin Roth | 3b87812 | 2016-09-30 14:43:01 -0600 | [diff] [blame] | 21 | default 0x2 # FIXME, workaround for Kconfig BS |
Stefan Reinauer | 7cb01e0 | 2013-08-29 16:05:02 -0700 | [diff] [blame] | 22 | depends on I2C_TPM |
Duncan Laurie | 6eb8e1d | 2016-09-01 15:56:44 -0700 | [diff] [blame] | 23 | |
24 | config DRIVER_I2C_TPM_ACPI | ||||
Jes Klinke | f99f589 | 2020-12-01 14:43:31 -0800 | [diff] [blame] | 25 | bool "Generate I2C TPM ACPI device" if I2C_TPM |
Duncan Laurie | 6eb8e1d | 2016-09-01 15:56:44 -0700 | [diff] [blame] | 26 | default y if ARCH_X86 && I2C_TPM |
27 | default n | ||||
Lee Leahy | e0668e4 | 2017-01-08 11:38:14 -0800 | [diff] [blame] | 28 | |
29 | config 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. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 33 | |
34 | config TPM_ATMEL | ||||
35 | bool | ||||
36 | default n | ||||
37 | help | ||||
38 | The mainboard has an Atmel TPM chip. |