Vladimir Serbinenko | 0e90dae | 2015-05-18 10:29:06 +0200 | [diff] [blame] | 1 | config MAINBOARD_HAS_LPC_TPM |
Martin Roth | 29824c5 | 2015-06-05 21:03:42 -0600 | [diff] [blame] | 2 | bool |
| 3 | default n |
| 4 | help |
| 5 | Board has TPM support |
Vladimir Serbinenko | 0e90dae | 2015-05-18 10:29:06 +0200 | [diff] [blame] | 6 | |
Duncan Laurie | 1ab1eac | 2014-10-30 15:11:48 -0700 | [diff] [blame] | 7 | config LPC_TPM |
Vladimir Serbinenko | 0e90dae | 2015-05-18 10:29:06 +0200 | [diff] [blame] | 8 | bool "Enable TPM support" |
| 9 | depends on MAINBOARD_HAS_LPC_TPM |
Duncan Laurie | 1ab1eac | 2014-10-30 15:11:48 -0700 | [diff] [blame] | 10 | default n |
| 11 | help |
| 12 | Enable this option to enable LPC TPM support in coreboot. |
| 13 | |
| 14 | If unsure, say N. |
Duncan Laurie | dd281ed | 2014-10-30 15:20:19 -0700 | [diff] [blame] | 15 | |
| 16 | config TPM_TIS_BASE_ADDRESS |
Vladimir Serbinenko | 2305e68 | 2015-05-20 12:05:39 +0200 | [diff] [blame] | 17 | hex |
Duncan Laurie | dd281ed | 2014-10-30 15:20:19 -0700 | [diff] [blame] | 18 | default 0xfed40000 |
Patrick Georgi | e230313 | 2015-04-10 22:42:22 +0200 | [diff] [blame] | 19 | depends on LPC_TPM |
Duncan Laurie | dd281ed | 2014-10-30 15:20:19 -0700 | [diff] [blame] | 20 | help |
| 21 | This can be used to adjust the TPM memory base address. |
| 22 | The default is specified by the TCG PC Client Specific TPM |
| 23 | Interface Specification 1.2 and should not be changed unless |
| 24 | the TPM being used does not conform to TPM TIS 1.2. |
Vladimir Serbinenko | 0e90dae | 2015-05-18 10:29:06 +0200 | [diff] [blame] | 25 | |
Duncan Laurie | 8b11b2c | 2015-10-06 10:51:10 -0700 | [diff] [blame] | 26 | config TPM_PIRQ |
| 27 | hex |
| 28 | default 0 |
| 29 | depends on LPC_TPM |
| 30 | help |
| 31 | This can be used to specify a PIRQ to use instead of SERIRQ, |
| 32 | which is needed for SPI TPM interrupt support on x86. |
| 33 | |
Vladimir Serbinenko | 0e90dae | 2015-05-18 10:29:06 +0200 | [diff] [blame] | 34 | config TPM_INIT_FAILURE_IS_FATAL |
| 35 | bool |
| 36 | default n |
| 37 | depends on LPC_TPM |
| 38 | help |
| 39 | What to do if TPM init failed. If true, force a hard reset, |
| 40 | otherwise just log error message to console. |
| 41 | |
| 42 | config SKIP_TPM_STARTUP_ON_NORMAL_BOOT |
| 43 | bool |
| 44 | default n |
| 45 | depends on LPC_TPM |
| 46 | help |
| 47 | Skip TPM init on normal boot. Useful if payload does TPM init. |
Vladimir Serbinenko | ce58a4e | 2015-05-18 10:46:57 +0200 | [diff] [blame] | 48 | |
| 49 | config TPM_DEACTIVATE |
| 50 | bool "Deactivate TPM" |
| 51 | default n |
| 52 | depends on LPC_TPM |
| 53 | help |
| 54 | Deactivate TPM by issuing deactivate command. |