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 | |
Simon Glass | e02b3fd | 2021-09-25 19:43:16 -0600 | [diff] [blame] | 28 | config TOOLS_FIT |
| 29 | def_bool y |
| 30 | help |
| 31 | Enable FIT support in the tools builds. |
| 32 | |
| 33 | config TOOLS_FIT_FULL_CHECK |
| 34 | def_bool y |
| 35 | help |
| 36 | Do a full check of the FIT before using it in the tools builds |
| 37 | |
| 38 | config TOOLS_FIT_PRINT |
| 39 | def_bool y |
| 40 | help |
| 41 | Print the content of the FIT verbosely in the tools builds |
| 42 | |
Simon Glass | 2bbed3f | 2021-09-25 19:43:23 -0600 | [diff] [blame] | 43 | config TOOLS_FIT_RSASSA_PSS |
| 44 | def_bool y |
| 45 | help |
| 46 | Support the rsassa-pss signature scheme in the tools builds |
| 47 | |
Simon Glass | e02b3fd | 2021-09-25 19:43:16 -0600 | [diff] [blame] | 48 | config TOOLS_FIT_SIGNATURE |
| 49 | def_bool y |
| 50 | help |
| 51 | Enable signature verification of FIT uImages in the tools builds |
| 52 | |
| 53 | config TOOLS_FIT_SIGNATURE_MAX_SIZE |
| 54 | hex |
| 55 | depends on TOOLS_FIT_SIGNATURE |
| 56 | default 0x10000000 |
| 57 | |
Simon Glass | e059157 | 2021-09-25 19:43:22 -0600 | [diff] [blame] | 58 | config TOOLS_FIT_VERBOSE |
| 59 | def_bool y |
| 60 | help |
| 61 | Support verbose FIT output in the tools builds |
| 62 | |
Simon Glass | 2c21256 | 2021-09-25 19:43:18 -0600 | [diff] [blame] | 63 | config TOOLS_MD5 |
| 64 | def_bool y |
| 65 | help |
| 66 | Enable MD5 support in the tools builds |
| 67 | |
Simon Glass | 0c303f9 | 2021-09-25 19:43:21 -0600 | [diff] [blame] | 68 | config TOOLS_OF_LIBFDT |
| 69 | def_bool y |
| 70 | help |
| 71 | Enable libfdt support in the tools builds |
| 72 | |
Simon Glass | 2c21256 | 2021-09-25 19:43:18 -0600 | [diff] [blame] | 73 | config TOOLS_SHA1 |
| 74 | def_bool y |
| 75 | help |
| 76 | Enable SHA1 support in the tools builds |
| 77 | |
| 78 | config TOOLS_SHA256 |
| 79 | def_bool y |
| 80 | help |
| 81 | Enable SHA256 support in the tools builds |
| 82 | |
| 83 | config TOOLS_SHA384 |
| 84 | def_bool y |
| 85 | help |
| 86 | Enable SHA384 support in the tools builds |
| 87 | |
| 88 | config TOOLS_SHA512 |
| 89 | def_bool y |
| 90 | help |
| 91 | Enable SHA512 support in the tools builds |
| 92 | |
AKASHI Takahiro | 9af16cc | 2022-02-09 19:10:34 +0900 | [diff] [blame] | 93 | config TOOLS_MKEFICAPSULE |
| 94 | bool "Build efimkcapsule command" |
| 95 | default y if EFI_CAPSULE_ON_DISK |
| 96 | help |
| 97 | This command allows users to create a UEFI capsule file and, |
| 98 | optionally sign that file. If you want to enable UEFI capsule |
| 99 | update feature on your target, you certainly need this. |
| 100 | |
Mamta Shukla | 5fe1d4b | 2022-07-12 14:36:17 +0000 | [diff] [blame] | 101 | menuconfig FSPI_CONF_HEADER |
| 102 | bool "FlexSPI Header Configuration" |
| 103 | help |
| 104 | FSPI Header Configuration |
| 105 | |
| 106 | config FSPI_CONF_FILE |
| 107 | string "FlexSPI Header File" |
| 108 | depends on FSPI_CONF_HEADER |
| 109 | help |
| 110 | FlexSPI Header File name |
| 111 | |
| 112 | config READ_CLK_SOURCE |
| 113 | hex "Sampling Clock Source" |
| 114 | default 0x00 |
| 115 | depends on FSPI_CONF_HEADER |
| 116 | help |
| 117 | Sample Clock source for Flash, default is internal loopback clock |
| 118 | |
| 119 | config DEVICE_TYPE |
| 120 | hex "Flash Type" |
| 121 | default 0x01 |
| 122 | depends on FSPI_CONF_HEADER |
| 123 | help |
| 124 | Flash type: Serial NOR (0X01) and Serial NAND (0x02) |
| 125 | |
| 126 | config FLASH_PAD_TYPE |
| 127 | hex "Flash Pad Type" |
| 128 | default 0x01 |
| 129 | depends on FSPI_CONF_HEADER |
| 130 | help |
| 131 | Flash Pad type : |
| 132 | Single Pad 0x01 |
| 133 | Dual Pads 0x02 |
| 134 | Quad Pad 0x04 |
| 135 | Octal Pad 0x08 |
| 136 | |
| 137 | config SERIAL_CLK_FREQUENCY |
| 138 | hex "Serial Clock Frequency" |
| 139 | default 0x02 |
| 140 | depends on FSPI_CONF_HEADER |
| 141 | help |
| 142 | Chip specific frequency: other value 30MHz |
| 143 | 1-30MHz 2-50MHz 3-60MHz 4-75MHz 5-80MHz 6-100MHz 7-133MHz 8-166MHz |
| 144 | |
| 145 | config LUT_CUSTOM_SEQUENCE |
| 146 | hex "Enable Custom Look Up Table(LUT) Sequence" |
| 147 | default 0x00 |
| 148 | depends on FSPI_CONF_HEADER |
| 149 | help |
| 150 | 0 - Use predefined LUT Sequence |
| 151 | 1 - Use LUT Sequence provided |
| 152 | |
| 153 | config LUT_SEQUENCE |
| 154 | string "Look Up Table Sequence" |
| 155 | default "0x0b, 0x04, 0x18, 0x08, 0x08, 0x30, 0x04, 0x24" |
| 156 | depends on FSPI_CONF_HEADER |
| 157 | help |
| 158 | Look Up Table Sequence |
| 159 | |
Masami Hiramatsu | fdd56bf | 2023-05-31 00:29:24 -0500 | [diff] [blame^] | 160 | config TOOLS_MKFWUMDATA |
| 161 | bool "Build mkfwumdata command" |
| 162 | default y if FWU_MULTI_BANK_UPDATE |
| 163 | help |
| 164 | This command allows users to create a raw image of the FWU |
| 165 | metadata for initial installation of the FWU multi bank |
| 166 | update on the board. The installation method depends on |
| 167 | the platform. |
| 168 | |
Simon Glass | 1fa057b | 2020-09-10 20:21:27 -0600 | [diff] [blame] | 169 | endmenu |