Martin Roth | 2b65ba0 | 2024-02-16 10:43:48 -0700 | [diff] [blame^] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 3 | config MEMORY_MAPPED_TPM |
Philipp Deppenwiese | c07f8fb | 2018-02-27 19:40:52 +0100 | [diff] [blame] | 4 | bool |
Duncan Laurie | 1ab1eac | 2014-10-30 15:11:48 -0700 | [diff] [blame] | 5 | default n |
| 6 | help |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 7 | Board has memory mapped TPM support |
Kyösti Mälkki | 542cffa | 2020-05-29 19:42:07 +0300 | [diff] [blame] | 8 | |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 9 | if MEMORY_MAPPED_TPM |
Duncan Laurie | dd281ed | 2014-10-30 15:20:19 -0700 | [diff] [blame] | 10 | |
| 11 | config TPM_TIS_BASE_ADDRESS |
Vladimir Serbinenko | 2305e68 | 2015-05-20 12:05:39 +0200 | [diff] [blame] | 12 | hex |
Duncan Laurie | dd281ed | 2014-10-30 15:20:19 -0700 | [diff] [blame] | 13 | default 0xfed40000 |
| 14 | help |
| 15 | This can be used to adjust the TPM memory base address. |
| 16 | The default is specified by the TCG PC Client Specific TPM |
| 17 | Interface Specification 1.2 and should not be changed unless |
| 18 | the TPM being used does not conform to TPM TIS 1.2. |
Vladimir Serbinenko | 0e90dae | 2015-05-18 10:29:06 +0200 | [diff] [blame] | 19 | |
Duncan Laurie | 8b11b2c | 2015-10-06 10:51:10 -0700 | [diff] [blame] | 20 | config TPM_PIRQ |
| 21 | hex |
Martin Roth | 3b87812 | 2016-09-30 14:43:01 -0600 | [diff] [blame] | 22 | default 0x0 |
Duncan Laurie | 8b11b2c | 2015-10-06 10:51:10 -0700 | [diff] [blame] | 23 | help |
| 24 | This can be used to specify a PIRQ to use instead of SERIRQ, |
| 25 | which is needed for SPI TPM interrupt support on x86. |
| 26 | |
Kyösti Mälkki | 542cffa | 2020-05-29 19:42:07 +0300 | [diff] [blame] | 27 | endif |