blob: 5a75f85b031feec601c4191ec6e0c098724600f4 [file] [log] [blame]
Simon Glassa7d660b2015-08-22 18:31:19 -06001#
2# TPM subsystem configuration
3#
4
5menu "TPM support"
6
Simon Glass527a0722015-03-06 13:19:07 -07007config TPM_TIS_SANDBOX
8 bool "Enable sandbox TPM driver"
Simon Glassa7d660b2015-08-22 18:31:19 -06009 depends on SANDBOX
Simon Glass527a0722015-03-06 13:19:07 -070010 help
11 This driver emulates a TPM, providing access to base functions
12 such as reading and writing TPM private data. This is enough to
13 support Chrome OS verified boot. Extend functionality is not
14 implemented.
Simon Glassa7d660b2015-08-22 18:31:19 -060015
16config TPM_ATMEL_TWI
17 bool "Enable Atmel TWI TPM device driver"
Simon Glass2419cd12015-10-03 06:39:36 -060018 depends on TPM && DM_I2C
Simon Glassa7d660b2015-08-22 18:31:19 -060019 help
20 This driver supports an Atmel TPM device connected on the I2C bus.
21 The usual tpm operations and the 'tpm' command can be used to talk
22 to the device using the standard TPM Interface Specification (TIS)
23 protocol
24
Christophe Ricard0766ad22015-10-06 22:54:41 +020025config TPM_TIS_INFINEON
Simon Glassa7d660b2015-08-22 18:31:19 -060026 bool "Enable support for Infineon SLB9635/45 TPMs on I2C"
Simon Glass2419cd12015-10-03 06:39:36 -060027 depends on TPM && DM_I2C
Simon Glassa7d660b2015-08-22 18:31:19 -060028 help
29 This driver supports Infineon TPM devices connected on the I2C bus.
30 The usual tpm operations and the 'tpm' command can be used to talk
31 to the device using the standard TPM Interface Specification (TIS)
32 protocol
33
34config TPM_TIS_I2C_BURST_LIMITATION
35 bool "Enable I2C burst length limitation"
Christophe Ricard0766ad22015-10-06 22:54:41 +020036 depends on TPM_TIS_INFINEON
Simon Glassa7d660b2015-08-22 18:31:19 -060037 help
38 Some broken TPMs have a limitation on the number of bytes they can
39 receive in one message. Enable this option to allow you to set this
40 option. The can allow a broken TPM to be used by splitting messages
41 into separate pieces.
42
43config TPM_TIS_I2C_BURST_LIMITATION_LEN
44 int "Length"
45 depends on TPM_TIS_I2C_BURST_LIMITATION
46 help
47 Use this to set the burst limitation length
48
49config TPM_TIS_LPC
50 bool "Enable support for Infineon SLB9635/45 TPMs on LPC"
Simon Glass2419cd12015-10-03 06:39:36 -060051 depends on TPM && X86
Simon Glassa7d660b2015-08-22 18:31:19 -060052 help
Christophe Ricardca5bc1b2016-01-21 23:19:14 +010053 This driver supports Infineon TPM devices connected on the LPC bus.
Simon Glassa7d660b2015-08-22 18:31:19 -060054 The usual tpm operations and the 'tpm' command can be used to talk
55 to the device using the standard TPM Interface Specification (TIS)
56 protocol
57
58config TPM_AUTH_SESSIONS
59 bool "Enable TPM authentication session support"
60 depends on TPM
61 help
62 Enable support for authorised (AUTH1) commands as specified in the
63 TCG Main Specification 1.2. OIAP-authorised versions of the commands
64 TPM_LoadKey2 and TPM_GetPubKey are provided. Both features are
65 available using the 'tpm' command, too.
66
67endmenu