Kconfig 5.6 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4
#
# TPM device configuration
#

J
Jan Engelhardt 已提交
5
menuconfig TCG_TPM
L
Linus Torvalds 已提交
6
	tristate "TPM Hardware Support"
J
Jan Engelhardt 已提交
7
	depends on HAS_IOMEM
8
	select SECURITYFS
L
Linus Torvalds 已提交
9 10 11 12 13 14 15 16 17 18
	---help---
	  If you have a TPM security chip in your system, which
	  implements the Trusted Computing Group's specification,
	  say Yes and it will be accessible from within Linux.  For
	  more information see <http://www.trustedcomputinggroup.org>. 
	  An implementation of the Trusted Software Stack (TSS), the 
	  userspace enablement piece of the specification, can be 
	  obtained at: <http://sourceforge.net/projects/trousers>.  To 
	  compile this driver as a module, choose M here; the module 
	  will be called tpm. If unsure, say N.
R
Rajiv Andrade 已提交
19 20
	  Notes:
	  1) For more TPM drivers enable CONFIG_PNP, CONFIG_ACPI
21
	  and CONFIG_PNPACPI.
R
Rajiv Andrade 已提交
22 23
	  2) Without ACPI enabled, the BIOS event log won't be accessible,
	  which is required to validate the PCR 0-7 values.
L
Linus Torvalds 已提交
24

J
Jan Engelhardt 已提交
25 26
if TCG_TPM

27 28 29 30 31 32
config TCG_TIS_CORE
	tristate
	---help---
	TCG TIS TPM core driver. It implements the TPM TCG TIS logic and hooks
	into the TPM kernel APIs. Physical layers will register against it.

33
config TCG_TIS
34
	tristate "TPM Interface Specification 1.2 Interface / TPM 2.0 FIFO Interface"
35
	depends on X86
36
	select TCG_TIS_CORE
37 38
	---help---
	  If you have a TPM security chip that is compliant with the
39 40 41 42
	  TCG TIS 1.2 TPM specification (TPM1.2) or the TCG PTP FIFO
	  specification (TPM2.0) say Yes and it will be accessible from
	  within Linux. To compile this driver as a module, choose  M here;
	  the module will be called tpm_tis.
43

44 45 46 47 48 49 50 51 52 53 54 55
config TCG_TIS_SPI
	tristate "TPM Interface Specification 1.3 Interface / TPM 2.0 FIFO Interface - (SPI)"
	depends on SPI
	select TCG_TIS_CORE
	---help---
	  If you have a TPM security chip which is connected to a regular,
	  non-tcg SPI master (i.e. most embedded platforms) that is compliant with the
	  TCG TIS 1.3 TPM specification (TPM1.2) or the TCG PTP FIFO
	  specification (TPM2.0) say Yes and it will be accessible from
	  within Linux. To compile this driver as a module, choose  M here;
	  the module will be called tpm_tis_spi.

56 57 58 59 60 61 62 63 64
config TCG_TIS_I2C_ATMEL
	tristate "TPM Interface Specification 1.2 Interface (I2C - Atmel)"
	depends on I2C
	---help---
	  If you have an Atmel I2C TPM security chip say Yes and it will be
	  accessible from within Linux.
	  To compile this driver as a module, choose M here; the module will
	  be called tpm_tis_i2c_atmel.

65 66 67 68 69 70 71 72 73
config TCG_TIS_I2C_INFINEON
	tristate "TPM Interface Specification 1.2 Interface (I2C - Infineon)"
	depends on I2C
	---help---
	  If you have a TPM security chip that is compliant with the
	  TCG TIS 1.2 TPM specification and Infineon's I2C Protocol Stack
	  Specification 0.20 say Yes and it will be accessible from within
	  Linux.
	  To compile this driver as a module, choose M here; the module
74
	  will be called tpm_i2c_infineon.
75

76 77 78 79 80 81 82 83 84 85
config TCG_TIS_I2C_NUVOTON
	tristate "TPM Interface Specification 1.2 Interface (I2C - Nuvoton)"
	depends on I2C
	---help---
	  If you have a TPM security chip with an I2C interface from
	  Nuvoton Technology Corp. say Yes and it will be accessible
	  from within Linux.
	  To compile this driver as a module, choose M here; the module
	  will be called tpm_i2c_nuvoton.

L
Linus Torvalds 已提交
86 87
config TCG_NSC
	tristate "National Semiconductor TPM Interface"
88
	depends on X86
L
Linus Torvalds 已提交
89
	---help---
90
	  If you have a TPM security chip from National Semiconductor 
L
Linus Torvalds 已提交
91 92 93 94 95 96
	  say Yes and it will be accessible from within Linux.  To 
	  compile this driver as a module, choose M here; the module 
	  will be called tpm_nsc.

config TCG_ATMEL
	tristate "Atmel TPM Interface"
97
	depends on PPC64 || HAS_IOPORT_MAP
L
Linus Torvalds 已提交
98 99 100 101 102
	---help---
	  If you have a TPM security chip from Atmel say Yes and it 
	  will be accessible from within Linux.  To compile this driver 
	  as a module, choose M here; the module will be called tpm_atmel.

103
config TCG_INFINEON
104
	tristate "Infineon Technologies TPM Interface"
105
	depends on PNP
106 107
	---help---
	  If you have a TPM security chip from Infineon Technologies
108 109 110
	  (either SLD 9630 TT 1.1 or SLB 9635 TT 1.2) say Yes and it
	  will be accessible from within Linux.
	  To compile this driver as a module, choose M here; the module
111 112
	  will be called tpm_infineon.
	  Further information on this driver and the supported hardware
113
	  can be found at http://www.trust.rub.de/projects/linux-device-driver-infineon-tpm/ 
114

115 116
config TCG_IBMVTPM
	tristate "IBM VTPM Interface"
117
	depends on PPC_PSERIES
118 119 120 121 122
	---help---
	  If you have IBM virtual TPM (VTPM) support say Yes and it
	  will be accessible from within Linux.  To compile this driver
	  as a module, choose M here; the module will be called tpm_ibmvtpm.

123 124 125
config TCG_XEN
	tristate "XEN TPM Interface"
	depends on TCG_TPM && XEN
126
	select XEN_XENBUS_FRONTEND
127 128 129 130 131 132 133 134
	---help---
	  If you want to make TPM support available to a Xen user domain,
	  say Yes and it will be accessible from within Linux. See
	  the manpages for xl, xl.conf, and docs/misc/vtpm.txt in
	  the Xen source repository for more details.
	  To compile this driver as a module, choose M here; the module
	  will be called xen-tpmfront.

J
Jarkko Sakkinen 已提交
135 136 137 138 139 140 141 142 143
config TCG_CRB
	tristate "TPM 2.0 CRB Interface"
	depends on X86 && ACPI
	---help---
	  If you have a TPM security chip that is compliant with the
	  TCG CRB 2.0 TPM specification say Yes and it will be accessible
	  from within Linux.  To compile this driver as a module, choose
	  M here; the module will be called tpm_crb.

144 145 146
config TCG_VTPM_PROXY
	tristate "VTPM Proxy Interface"
	depends on TCG_TPM
147
	select ANON_INODES
148 149 150 151 152 153 154
	---help---
	  This driver proxies for an emulated TPM (vTPM) running in userspace.
	  A device /dev/vtpmx is provided that creates a device pair
	  /dev/vtpmX and a server-side file descriptor on which the vTPM
	  can receive commands.


155
source "drivers/char/tpm/st33zp24/Kconfig"
J
Jan Engelhardt 已提交
156
endif # TCG_TPM