blob: 0e8a0203df56b90fddd6733ffe4adcc6e811de51 [file] [log] [blame]
Vladimir Serbinenko0e90dae2015-05-18 10:29:06 +02001config MAINBOARD_HAS_LPC_TPM
Martin Roth29824c52015-06-05 21:03:42 -06002 bool
3 default n
4 help
5 Board has TPM support
Vladimir Serbinenko0e90dae2015-05-18 10:29:06 +02006
Duncan Laurie1ab1eac2014-10-30 15:11:48 -07007config LPC_TPM
Vladimir Serbinenko0e90dae2015-05-18 10:29:06 +02008 bool "Enable TPM support"
9 depends on MAINBOARD_HAS_LPC_TPM
Duncan Laurie1ab1eac2014-10-30 15:11:48 -070010 default n
11 help
12 Enable this option to enable LPC TPM support in coreboot.
13
14 If unsure, say N.
Duncan Lauriedd281ed2014-10-30 15:20:19 -070015
16config TPM_TIS_BASE_ADDRESS
Vladimir Serbinenko2305e682015-05-20 12:05:39 +020017 hex
Duncan Lauriedd281ed2014-10-30 15:20:19 -070018 default 0xfed40000
Patrick Georgie2303132015-04-10 22:42:22 +020019 depends on LPC_TPM
Duncan Lauriedd281ed2014-10-30 15:20:19 -070020 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 Serbinenko0e90dae2015-05-18 10:29:06 +020025
Duncan Laurie8b11b2c2015-10-06 10:51:10 -070026config 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 Serbinenko0e90dae2015-05-18 10:29:06 +020034config 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
42config 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 Serbinenkoce58a4e2015-05-18 10:46:57 +020048
49config TPM_DEACTIVATE
50 bool "Deactivate TPM"
51 default n
52 depends on LPC_TPM
53 help
54 Deactivate TPM by issuing deactivate command.