Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 1 | # |
| 2 | # TPM subsystem configuration |
| 3 | # |
| 4 | |
| 5 | menu "TPM support" |
| 6 | |
Simon Glass | 86232c8 | 2015-03-06 13:19:07 -0700 | [diff] [blame] | 7 | config TPM_TIS_SANDBOX |
| 8 | bool "Enable sandbox TPM driver" |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 9 | depends on SANDBOX |
Simon Glass | 86232c8 | 2015-03-06 13:19:07 -0700 | [diff] [blame] | 10 | 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 Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 15 | |
| 16 | config TPM_ATMEL_TWI |
| 17 | bool "Enable Atmel TWI TPM device driver" |
mario.six@gdsys.cc | ec951ad | 2016-07-18 13:47:45 +0200 | [diff] [blame] | 18 | depends on TPM |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 19 | 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 Ricard | 8759ff8 | 2015-10-06 22:54:41 +0200 | [diff] [blame] | 25 | config TPM_TIS_INFINEON |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 26 | bool "Enable support for Infineon SLB9635/45 TPMs on I2C" |
Simon Glass | cf294b0 | 2015-10-03 06:39:36 -0600 | [diff] [blame] | 27 | depends on TPM && DM_I2C |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 28 | 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 | |
| 34 | config TPM_TIS_I2C_BURST_LIMITATION |
| 35 | bool "Enable I2C burst length limitation" |
Christophe Ricard | 8759ff8 | 2015-10-06 22:54:41 +0200 | [diff] [blame] | 36 | depends on TPM_TIS_INFINEON |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 37 | 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 | |
| 43 | config 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 | |
| 49 | config TPM_TIS_LPC |
| 50 | bool "Enable support for Infineon SLB9635/45 TPMs on LPC" |
Simon Glass | cf294b0 | 2015-10-03 06:39:36 -0600 | [diff] [blame] | 51 | depends on TPM && X86 |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 52 | help |
Christophe Ricard | 628f1d0 | 2016-01-21 23:19:14 +0100 | [diff] [blame] | 53 | This driver supports Infineon TPM devices connected on the LPC bus. |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 54 | 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 | |
| 58 | config 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 | |
Christophe Ricard | 8824923 | 2016-01-21 23:27:13 +0100 | [diff] [blame] | 67 | config TPM_ST33ZP24_I2C |
| 68 | bool "STMicroelectronics ST33ZP24 I2C TPM" |
| 69 | depends on TPM && DM_I2C |
| 70 | ---help--- |
| 71 | This driver supports STMicroelectronics TPM devices connected on the I2C bus. |
| 72 | The usual tpm operations and the 'tpm' command can be used to talk |
| 73 | to the device using the standard TPM Interface Specification (TIS) |
| 74 | protocol |
| 75 | |
Christophe Ricard | 5ffadc3 | 2016-01-21 23:27:14 +0100 | [diff] [blame] | 76 | config TPM_ST33ZP24_SPI |
| 77 | bool "STMicroelectronics ST33ZP24 SPI TPM" |
| 78 | depends on TPM && DM_SPI |
| 79 | ---help--- |
| 80 | This driver supports STMicroelectronics TPM devices connected on the SPI bus. |
| 81 | The usual tpm operations and the 'tpm' command can be used to talk |
| 82 | to the device using the standard TPM Interface Specification (TIS) |
| 83 | protocol |
| 84 | |
Mario Six | 4eceb6c | 2017-01-11 16:00:50 +0100 | [diff] [blame] | 85 | config TPM_FLUSH_RESOURCES |
| 86 | bool "Enable TPM resource flushing support" |
| 87 | depends on TPM |
| 88 | help |
| 89 | Enable support to flush specific resources (e.g. keys) from the TPM. |
| 90 | The functionality is available via the 'tpm' command as well. |
mario.six@gdsys.cc | a5a7ea2 | 2017-03-20 10:28:28 +0100 | [diff] [blame] | 91 | |
| 92 | config TPM_LOAD_KEY_BY_SHA1 |
| 93 | bool "Enable TPM key loading by SHA1 support" |
| 94 | depends on TPM |
| 95 | help |
| 96 | Enable support to load keys into the TPM by identifying |
| 97 | their parent via the public key's SHA1 hash. |
| 98 | The functionality is available via the 'tpm' command as well. |
mario.six@gdsys.cc | a5bfcc5 | 2017-03-20 10:28:30 +0100 | [diff] [blame] | 99 | |
| 100 | config TPM_LIST_RESOURCES |
| 101 | bool "Enable TPM resource listing support" |
| 102 | depends on TPM |
| 103 | help |
| 104 | Enable support to list specific resources (e.g. keys) within the TPM. |
| 105 | The functionality is available via the 'tpm' command as well. |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 106 | endmenu |