Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 1 | # |
| 2 | # TPM subsystem configuration |
| 3 | # |
| 4 | |
| 5 | menu "TPM support" |
| 6 | |
Miquel Raynal | 294f82a | 2018-05-15 11:57:05 +0200 | [diff] [blame^] | 7 | comment "Please select only one TPM revision" |
| 8 | depends on TPM_V1 && TPM_V2 |
| 9 | |
| 10 | config TPM_V1 |
| 11 | bool "TPMv1.x support" |
| 12 | depends on TPM |
| 13 | default y |
| 14 | help |
| 15 | Major TPM versions are not compatible at all, choose either |
| 16 | one or the other. This option enables TPMv1.x drivers/commands. |
| 17 | |
| 18 | if TPM_V1 && !TPM_V2 |
| 19 | |
Simon Glass | 86232c8 | 2015-03-06 13:19:07 -0700 | [diff] [blame] | 20 | config TPM_TIS_SANDBOX |
| 21 | bool "Enable sandbox TPM driver" |
Miquel Raynal | 294f82a | 2018-05-15 11:57:05 +0200 | [diff] [blame^] | 22 | depends on TPM_V1 && SANDBOX |
Simon Glass | 86232c8 | 2015-03-06 13:19:07 -0700 | [diff] [blame] | 23 | help |
| 24 | This driver emulates a TPM, providing access to base functions |
| 25 | such as reading and writing TPM private data. This is enough to |
| 26 | support Chrome OS verified boot. Extend functionality is not |
| 27 | implemented. |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 28 | |
| 29 | config TPM_ATMEL_TWI |
| 30 | bool "Enable Atmel TWI TPM device driver" |
Miquel Raynal | 294f82a | 2018-05-15 11:57:05 +0200 | [diff] [blame^] | 31 | depends on TPM_V1 |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 32 | help |
| 33 | This driver supports an Atmel TPM device connected on the I2C bus. |
| 34 | The usual tpm operations and the 'tpm' command can be used to talk |
| 35 | to the device using the standard TPM Interface Specification (TIS) |
| 36 | protocol |
| 37 | |
Christophe Ricard | 8759ff8 | 2015-10-06 22:54:41 +0200 | [diff] [blame] | 38 | config TPM_TIS_INFINEON |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 39 | bool "Enable support for Infineon SLB9635/45 TPMs on I2C" |
Miquel Raynal | 294f82a | 2018-05-15 11:57:05 +0200 | [diff] [blame^] | 40 | depends on TPM_V1 && DM_I2C |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 41 | help |
| 42 | This driver supports Infineon TPM devices connected on the I2C bus. |
| 43 | The usual tpm operations and the 'tpm' command can be used to talk |
| 44 | to the device using the standard TPM Interface Specification (TIS) |
| 45 | protocol |
| 46 | |
| 47 | config TPM_TIS_I2C_BURST_LIMITATION |
| 48 | bool "Enable I2C burst length limitation" |
Miquel Raynal | 294f82a | 2018-05-15 11:57:05 +0200 | [diff] [blame^] | 49 | depends on TPM_V1 && TPM_TIS_INFINEON |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 50 | help |
| 51 | Some broken TPMs have a limitation on the number of bytes they can |
| 52 | receive in one message. Enable this option to allow you to set this |
| 53 | option. The can allow a broken TPM to be used by splitting messages |
| 54 | into separate pieces. |
| 55 | |
| 56 | config TPM_TIS_I2C_BURST_LIMITATION_LEN |
| 57 | int "Length" |
| 58 | depends on TPM_TIS_I2C_BURST_LIMITATION |
| 59 | help |
| 60 | Use this to set the burst limitation length |
| 61 | |
| 62 | config TPM_TIS_LPC |
| 63 | bool "Enable support for Infineon SLB9635/45 TPMs on LPC" |
Miquel Raynal | 294f82a | 2018-05-15 11:57:05 +0200 | [diff] [blame^] | 64 | depends on TPM_V1 && X86 |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 65 | help |
Christophe Ricard | 628f1d0 | 2016-01-21 23:19:14 +0100 | [diff] [blame] | 66 | This driver supports Infineon TPM devices connected on the LPC bus. |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 67 | The usual tpm operations and the 'tpm' command can be used to talk |
| 68 | to the device using the standard TPM Interface Specification (TIS) |
| 69 | protocol |
| 70 | |
| 71 | config TPM_AUTH_SESSIONS |
| 72 | bool "Enable TPM authentication session support" |
Miquel Raynal | 294f82a | 2018-05-15 11:57:05 +0200 | [diff] [blame^] | 73 | depends on TPM_V1 |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 74 | help |
| 75 | Enable support for authorised (AUTH1) commands as specified in the |
| 76 | TCG Main Specification 1.2. OIAP-authorised versions of the commands |
| 77 | TPM_LoadKey2 and TPM_GetPubKey are provided. Both features are |
| 78 | available using the 'tpm' command, too. |
| 79 | |
Christophe Ricard | 8824923 | 2016-01-21 23:27:13 +0100 | [diff] [blame] | 80 | config TPM_ST33ZP24_I2C |
| 81 | bool "STMicroelectronics ST33ZP24 I2C TPM" |
Miquel Raynal | 294f82a | 2018-05-15 11:57:05 +0200 | [diff] [blame^] | 82 | depends on TPM_V1 && DM_I2C |
Christophe Ricard | 8824923 | 2016-01-21 23:27:13 +0100 | [diff] [blame] | 83 | ---help--- |
| 84 | This driver supports STMicroelectronics TPM devices connected on the I2C bus. |
| 85 | The usual tpm operations and the 'tpm' command can be used to talk |
| 86 | to the device using the standard TPM Interface Specification (TIS) |
| 87 | protocol |
| 88 | |
Christophe Ricard | 5ffadc3 | 2016-01-21 23:27:14 +0100 | [diff] [blame] | 89 | config TPM_ST33ZP24_SPI |
| 90 | bool "STMicroelectronics ST33ZP24 SPI TPM" |
Miquel Raynal | 294f82a | 2018-05-15 11:57:05 +0200 | [diff] [blame^] | 91 | depends on TPM_V1 && DM_SPI |
Christophe Ricard | 5ffadc3 | 2016-01-21 23:27:14 +0100 | [diff] [blame] | 92 | ---help--- |
| 93 | This driver supports STMicroelectronics TPM devices connected on the SPI bus. |
| 94 | The usual tpm operations and the 'tpm' command can be used to talk |
| 95 | to the device using the standard TPM Interface Specification (TIS) |
| 96 | protocol |
| 97 | |
Mario Six | 4eceb6c | 2017-01-11 16:00:50 +0100 | [diff] [blame] | 98 | config TPM_FLUSH_RESOURCES |
| 99 | bool "Enable TPM resource flushing support" |
Miquel Raynal | 294f82a | 2018-05-15 11:57:05 +0200 | [diff] [blame^] | 100 | depends on TPM_V1 |
Mario Six | 4eceb6c | 2017-01-11 16:00:50 +0100 | [diff] [blame] | 101 | help |
| 102 | Enable support to flush specific resources (e.g. keys) from the TPM. |
| 103 | The functionality is available via the 'tpm' command as well. |
mario.six@gdsys.cc | a5a7ea2 | 2017-03-20 10:28:28 +0100 | [diff] [blame] | 104 | |
| 105 | config TPM_LOAD_KEY_BY_SHA1 |
| 106 | bool "Enable TPM key loading by SHA1 support" |
Miquel Raynal | 294f82a | 2018-05-15 11:57:05 +0200 | [diff] [blame^] | 107 | depends on TPM_V1 |
mario.six@gdsys.cc | a5a7ea2 | 2017-03-20 10:28:28 +0100 | [diff] [blame] | 108 | help |
| 109 | Enable support to load keys into the TPM by identifying |
| 110 | their parent via the public key's SHA1 hash. |
| 111 | The functionality is available via the 'tpm' command as well. |
mario.six@gdsys.cc | a5bfcc5 | 2017-03-20 10:28:30 +0100 | [diff] [blame] | 112 | |
| 113 | config TPM_LIST_RESOURCES |
| 114 | bool "Enable TPM resource listing support" |
Miquel Raynal | 294f82a | 2018-05-15 11:57:05 +0200 | [diff] [blame^] | 115 | depends on TPM_V1 |
mario.six@gdsys.cc | a5bfcc5 | 2017-03-20 10:28:30 +0100 | [diff] [blame] | 116 | help |
| 117 | Enable support to list specific resources (e.g. keys) within the TPM. |
| 118 | The functionality is available via the 'tpm' command as well. |
Miquel Raynal | 294f82a | 2018-05-15 11:57:05 +0200 | [diff] [blame^] | 119 | |
| 120 | endif # TPM_V1 |
| 121 | |
| 122 | config TPM_V2 |
| 123 | bool "TPMv2.x support" |
| 124 | depends on TPM |
| 125 | help |
| 126 | Major TPM versions are not compatible at all, choose either |
| 127 | one or the other. This option enables TPMv2.x drivers/commands. |
| 128 | |
| 129 | if TPM_V2 && !TPM_V1 |
| 130 | |
| 131 | endif # TPM_V2 |
| 132 | |
Simon Glass | 350497c | 2015-08-22 18:31:19 -0600 | [diff] [blame] | 133 | endmenu |