Simon Glass | 1fa057b | 2020-09-10 20:21:27 -0600 | [diff] [blame] | 1 | menu "Tools options" |
| 2 | |
| 3 | config MKIMAGE_DTC_PATH |
| 4 | string "Path to dtc binary for use within mkimage" |
| 5 | default "dtc" |
| 6 | help |
| 7 | The mkimage host tool will, in order to generate FIT images make |
| 8 | calls to the dtc application in order to create the output. In |
| 9 | some cases the system dtc may not support all required features |
| 10 | and the path to a different version should be given here. |
| 11 | |
Simon Glass | e7d285b | 2021-09-25 19:43:24 -0600 | [diff] [blame] | 12 | config TOOLS_CRC32 |
| 13 | def_bool y |
| 14 | help |
| 15 | Enable CRC32 support in the tools builds |
| 16 | |
Alexandru Gagniuc | cb9faa6 | 2021-07-14 17:05:47 -0500 | [diff] [blame] | 17 | config TOOLS_LIBCRYPTO |
| 18 | bool "Use OpenSSL's libcrypto library for host tools" |
| 19 | default y |
| 20 | help |
| 21 | Cryptographic signature, verification, and encryption of images is |
| 22 | provided by host tools using OpenSSL's libcrypto. Select 'n' here if |
| 23 | you wish to build host tools without OpenSSL. mkimage will not have |
| 24 | the ability to sign images. |
| 25 | This selection does not affect target features, such as runtime FIT |
| 26 | signature verification. |
| 27 | |
Alexander Dahl | b646a10 | 2023-12-21 08:26:10 +0100 | [diff] [blame] | 28 | config TOOLS_KWBIMAGE |
| 29 | bool "Enable kwbimage support in host tools" |
| 30 | default y |
| 31 | select TOOLS_LIBCRYPTO |
| 32 | |
Simon Glass | e02b3fd | 2021-09-25 19:43:16 -0600 | [diff] [blame] | 33 | config TOOLS_FIT |
| 34 | def_bool y |
| 35 | help |
| 36 | Enable FIT support in the tools builds. |
| 37 | |
| 38 | config TOOLS_FIT_FULL_CHECK |
| 39 | def_bool y |
| 40 | help |
| 41 | Do a full check of the FIT before using it in the tools builds |
| 42 | |
| 43 | config TOOLS_FIT_PRINT |
| 44 | def_bool y |
| 45 | help |
| 46 | Print the content of the FIT verbosely in the tools builds |
| 47 | |
Simon Glass | 2bbed3f | 2021-09-25 19:43:23 -0600 | [diff] [blame] | 48 | config TOOLS_FIT_RSASSA_PSS |
| 49 | def_bool y |
| 50 | help |
| 51 | Support the rsassa-pss signature scheme in the tools builds |
| 52 | |
Simon Glass | e02b3fd | 2021-09-25 19:43:16 -0600 | [diff] [blame] | 53 | config TOOLS_FIT_SIGNATURE |
Paul-Erwan Rio | 03e5982 | 2023-12-21 08:26:11 +0100 | [diff] [blame] | 54 | depends on TOOLS_LIBCRYPTO |
Simon Glass | e02b3fd | 2021-09-25 19:43:16 -0600 | [diff] [blame] | 55 | def_bool y |
| 56 | help |
| 57 | Enable signature verification of FIT uImages in the tools builds |
| 58 | |
| 59 | config TOOLS_FIT_SIGNATURE_MAX_SIZE |
| 60 | hex |
| 61 | depends on TOOLS_FIT_SIGNATURE |
| 62 | default 0x10000000 |
| 63 | |
Simon Glass | e059157 | 2021-09-25 19:43:22 -0600 | [diff] [blame] | 64 | config TOOLS_FIT_VERBOSE |
| 65 | def_bool y |
| 66 | help |
| 67 | Support verbose FIT output in the tools builds |
| 68 | |
Simon Glass | 2c21256 | 2021-09-25 19:43:18 -0600 | [diff] [blame] | 69 | config TOOLS_MD5 |
| 70 | def_bool y |
| 71 | help |
| 72 | Enable MD5 support in the tools builds |
| 73 | |
Simon Glass | 0c303f9 | 2021-09-25 19:43:21 -0600 | [diff] [blame] | 74 | config TOOLS_OF_LIBFDT |
| 75 | def_bool y |
| 76 | help |
| 77 | Enable libfdt support in the tools builds |
| 78 | |
Simon Glass | 2c21256 | 2021-09-25 19:43:18 -0600 | [diff] [blame] | 79 | config TOOLS_SHA1 |
| 80 | def_bool y |
| 81 | help |
| 82 | Enable SHA1 support in the tools builds |
| 83 | |
| 84 | config TOOLS_SHA256 |
| 85 | def_bool y |
| 86 | help |
| 87 | Enable SHA256 support in the tools builds |
| 88 | |
| 89 | config TOOLS_SHA384 |
| 90 | def_bool y |
| 91 | help |
| 92 | Enable SHA384 support in the tools builds |
| 93 | |
| 94 | config TOOLS_SHA512 |
| 95 | def_bool y |
| 96 | help |
| 97 | Enable SHA512 support in the tools builds |
| 98 | |
AKASHI Takahiro | 9af16cc | 2022-02-09 19:10:34 +0900 | [diff] [blame] | 99 | config TOOLS_MKEFICAPSULE |
| 100 | bool "Build efimkcapsule command" |
Jonathan Humphreys | b7a625b | 2024-05-31 17:51:02 -0500 | [diff] [blame] | 101 | default y if EFI_LOADER |
AKASHI Takahiro | 9af16cc | 2022-02-09 19:10:34 +0900 | [diff] [blame] | 102 | help |
| 103 | This command allows users to create a UEFI capsule file and, |
| 104 | optionally sign that file. If you want to enable UEFI capsule |
| 105 | update feature on your target, you certainly need this. |
| 106 | |
Mamta Shukla | 5fe1d4b | 2022-07-12 14:36:17 +0000 | [diff] [blame] | 107 | menuconfig FSPI_CONF_HEADER |
| 108 | bool "FlexSPI Header Configuration" |
| 109 | help |
| 110 | FSPI Header Configuration |
| 111 | |
| 112 | config FSPI_CONF_FILE |
| 113 | string "FlexSPI Header File" |
| 114 | depends on FSPI_CONF_HEADER |
| 115 | help |
| 116 | FlexSPI Header File name |
| 117 | |
| 118 | config READ_CLK_SOURCE |
| 119 | hex "Sampling Clock Source" |
| 120 | default 0x00 |
| 121 | depends on FSPI_CONF_HEADER |
| 122 | help |
| 123 | Sample Clock source for Flash, default is internal loopback clock |
| 124 | |
| 125 | config DEVICE_TYPE |
| 126 | hex "Flash Type" |
| 127 | default 0x01 |
| 128 | depends on FSPI_CONF_HEADER |
| 129 | help |
| 130 | Flash type: Serial NOR (0X01) and Serial NAND (0x02) |
| 131 | |
| 132 | config FLASH_PAD_TYPE |
| 133 | hex "Flash Pad Type" |
| 134 | default 0x01 |
| 135 | depends on FSPI_CONF_HEADER |
| 136 | help |
| 137 | Flash Pad type : |
| 138 | Single Pad 0x01 |
| 139 | Dual Pads 0x02 |
| 140 | Quad Pad 0x04 |
| 141 | Octal Pad 0x08 |
| 142 | |
| 143 | config SERIAL_CLK_FREQUENCY |
| 144 | hex "Serial Clock Frequency" |
| 145 | default 0x02 |
| 146 | depends on FSPI_CONF_HEADER |
| 147 | help |
| 148 | Chip specific frequency: other value 30MHz |
| 149 | 1-30MHz 2-50MHz 3-60MHz 4-75MHz 5-80MHz 6-100MHz 7-133MHz 8-166MHz |
| 150 | |
Jesse Taube | b0adbd6 | 2024-01-23 21:15:16 -0500 | [diff] [blame] | 151 | config FSPI_COL_ADDR_W |
| 152 | hex "Column Address With" |
| 153 | default 0x00 |
| 154 | depends on FSPI_CONF_HEADER |
| 155 | help |
| 156 | Default 0. For HyperBus protocol, it is fixed to 3 |
| 157 | |
| 158 | config FSPI_CONTROLLER_MISC |
| 159 | hex "FSPI miscellaneous control" |
| 160 | default 0x00000000 |
| 161 | depends on FSPI_CONF_HEADER |
| 162 | help |
| 163 | Default 0. [0x40] Controller Misc Options |
| 164 | |
| 165 | config FSPI_FLASH_A1_SIZE |
| 166 | hex "Size in bytes of Flash A1" |
| 167 | default 0x10000000 |
| 168 | depends on FSPI_CONF_HEADER |
| 169 | help |
| 170 | Size of Flash connected to A1 in bytes |
| 171 | |
Mamta Shukla | 5fe1d4b | 2022-07-12 14:36:17 +0000 | [diff] [blame] | 172 | config LUT_CUSTOM_SEQUENCE |
| 173 | hex "Enable Custom Look Up Table(LUT) Sequence" |
| 174 | default 0x00 |
| 175 | depends on FSPI_CONF_HEADER |
| 176 | help |
| 177 | 0 - Use predefined LUT Sequence |
| 178 | 1 - Use LUT Sequence provided |
| 179 | |
| 180 | config LUT_SEQUENCE |
| 181 | string "Look Up Table Sequence" |
| 182 | default "0x0b, 0x04, 0x18, 0x08, 0x08, 0x30, 0x04, 0x24" |
| 183 | depends on FSPI_CONF_HEADER |
| 184 | help |
| 185 | Look Up Table Sequence |
| 186 | |
Masami Hiramatsu | fdd56bf | 2023-05-31 00:29:24 -0500 | [diff] [blame] | 187 | config TOOLS_MKFWUMDATA |
| 188 | bool "Build mkfwumdata command" |
| 189 | default y if FWU_MULTI_BANK_UPDATE |
| 190 | help |
| 191 | This command allows users to create a raw image of the FWU |
| 192 | metadata for initial installation of the FWU multi bank |
| 193 | update on the board. The installation method depends on |
| 194 | the platform. |
| 195 | |
Simon Glass | 1fa057b | 2020-09-10 20:21:27 -0600 | [diff] [blame] | 196 | endmenu |