blob: 8e272ee99a837830b5a3ebdec4e2f505921a1950 [file] [log] [blame]
Simon Glass31b24b42020-09-10 20:21:27 -06001menu "Tools options"
2
3config 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
Paul HENRYS99940082025-02-24 22:20:53 +010012config TOOLS_IMAGE_PRE_LOAD
13 def_bool y
14 help
15 Enable pre-load signature support in the tools builds.
16
Simon Glass52b51ab2025-01-26 11:43:14 -070017config TOOLS_CRC16
18 def_bool y
19 help
20 Enable CRC32 support in the tools builds
21
Simon Glass577226c2021-09-25 19:43:24 -060022config TOOLS_CRC32
23 def_bool y
24 help
25 Enable CRC32 support in the tools builds
26
Alexandru Gagniuc9a5bfc12021-07-14 17:05:47 -050027config TOOLS_LIBCRYPTO
28 bool "Use OpenSSL's libcrypto library for host tools"
29 default y
30 help
31 Cryptographic signature, verification, and encryption of images is
32 provided by host tools using OpenSSL's libcrypto. Select 'n' here if
33 you wish to build host tools without OpenSSL. mkimage will not have
34 the ability to sign images.
35 This selection does not affect target features, such as runtime FIT
36 signature verification.
37
Alexander Dahl3f3c8382023-12-21 08:26:10 +010038config TOOLS_KWBIMAGE
39 bool "Enable kwbimage support in host tools"
40 default y
41 select TOOLS_LIBCRYPTO
42
Simon Glassf16dc6c2021-09-25 19:43:16 -060043config TOOLS_FIT
44 def_bool y
45 help
46 Enable FIT support in the tools builds.
47
48config TOOLS_FIT_FULL_CHECK
49 def_bool y
50 help
51 Do a full check of the FIT before using it in the tools builds
52
53config TOOLS_FIT_PRINT
54 def_bool y
55 help
56 Print the content of the FIT verbosely in the tools builds
57
Simon Glasseffa4522021-09-25 19:43:23 -060058config TOOLS_FIT_RSASSA_PSS
59 def_bool y
60 help
61 Support the rsassa-pss signature scheme in the tools builds
62
Simon Glassf16dc6c2021-09-25 19:43:16 -060063config TOOLS_FIT_SIGNATURE
Paul-Erwan Riodcfb6332023-12-21 08:26:11 +010064 depends on TOOLS_LIBCRYPTO
Simon Glassf16dc6c2021-09-25 19:43:16 -060065 def_bool y
66 help
67 Enable signature verification of FIT uImages in the tools builds
68
69config TOOLS_FIT_SIGNATURE_MAX_SIZE
70 hex
71 depends on TOOLS_FIT_SIGNATURE
72 default 0x10000000
73
Simon Glassbd0d7352021-09-25 19:43:22 -060074config TOOLS_FIT_VERBOSE
75 def_bool y
76 help
77 Support verbose FIT output in the tools builds
78
Simon Glass383dd572021-09-25 19:43:18 -060079config TOOLS_MD5
80 def_bool y
81 help
82 Enable MD5 support in the tools builds
83
Simon Glass85c057e2021-09-25 19:43:21 -060084config TOOLS_OF_LIBFDT
85 def_bool y
86 help
87 Enable libfdt support in the tools builds
88
Simon Glass383dd572021-09-25 19:43:18 -060089config TOOLS_SHA1
90 def_bool y
91 help
92 Enable SHA1 support in the tools builds
93
94config TOOLS_SHA256
95 def_bool y
96 help
97 Enable SHA256 support in the tools builds
98
99config TOOLS_SHA384
100 def_bool y
101 help
102 Enable SHA384 support in the tools builds
103
104config TOOLS_SHA512
105 def_bool y
106 help
107 Enable SHA512 support in the tools builds
108
AKASHI Takahiro0f65d832022-02-09 19:10:34 +0900109config TOOLS_MKEFICAPSULE
110 bool "Build efimkcapsule command"
Jonathan Humphreysf6d30a82024-05-31 17:51:02 -0500111 default y if EFI_LOADER
AKASHI Takahiro0f65d832022-02-09 19:10:34 +0900112 help
113 This command allows users to create a UEFI capsule file and,
114 optionally sign that file. If you want to enable UEFI capsule
115 update feature on your target, you certainly need this.
116
Mamta Shuklaf563f962022-07-12 14:36:17 +0000117menuconfig FSPI_CONF_HEADER
118 bool "FlexSPI Header Configuration"
119 help
120 FSPI Header Configuration
121
122config FSPI_CONF_FILE
123 string "FlexSPI Header File"
124 depends on FSPI_CONF_HEADER
125 help
126 FlexSPI Header File name
127
128config READ_CLK_SOURCE
129 hex "Sampling Clock Source"
130 default 0x00
131 depends on FSPI_CONF_HEADER
132 help
133 Sample Clock source for Flash, default is internal loopback clock
134
135config DEVICE_TYPE
136 hex "Flash Type"
137 default 0x01
138 depends on FSPI_CONF_HEADER
139 help
140 Flash type: Serial NOR (0X01) and Serial NAND (0x02)
141
142config FLASH_PAD_TYPE
143 hex "Flash Pad Type"
144 default 0x01
145 depends on FSPI_CONF_HEADER
146 help
147 Flash Pad type :
148 Single Pad 0x01
149 Dual Pads 0x02
150 Quad Pad 0x04
151 Octal Pad 0x08
152
153config SERIAL_CLK_FREQUENCY
154 hex "Serial Clock Frequency"
155 default 0x02
156 depends on FSPI_CONF_HEADER
157 help
158 Chip specific frequency: other value 30MHz
159 1-30MHz 2-50MHz 3-60MHz 4-75MHz 5-80MHz 6-100MHz 7-133MHz 8-166MHz
160
Jesse Taubeaad057e2024-01-23 21:15:16 -0500161config FSPI_COL_ADDR_W
162 hex "Column Address With"
163 default 0x00
164 depends on FSPI_CONF_HEADER
165 help
166 Default 0. For HyperBus protocol, it is fixed to 3
167
168config FSPI_CONTROLLER_MISC
169 hex "FSPI miscellaneous control"
170 default 0x00000000
171 depends on FSPI_CONF_HEADER
172 help
173 Default 0. [0x40] Controller Misc Options
174
175config FSPI_FLASH_A1_SIZE
176 hex "Size in bytes of Flash A1"
177 default 0x10000000
178 depends on FSPI_CONF_HEADER
179 help
180 Size of Flash connected to A1 in bytes
181
Mamta Shuklaf563f962022-07-12 14:36:17 +0000182config LUT_CUSTOM_SEQUENCE
183 hex "Enable Custom Look Up Table(LUT) Sequence"
184 default 0x00
185 depends on FSPI_CONF_HEADER
186 help
187 0 - Use predefined LUT Sequence
188 1 - Use LUT Sequence provided
189
190config LUT_SEQUENCE
191 string "Look Up Table Sequence"
192 default "0x0b, 0x04, 0x18, 0x08, 0x08, 0x30, 0x04, 0x24"
193 depends on FSPI_CONF_HEADER
194 help
195 Look Up Table Sequence
196
Masami Hiramatsuca09ad72023-05-31 00:29:24 -0500197config TOOLS_MKFWUMDATA
198 bool "Build mkfwumdata command"
199 default y if FWU_MULTI_BANK_UPDATE
200 help
201 This command allows users to create a raw image of the FWU
202 metadata for initial installation of the FWU multi bank
203 update on the board. The installation method depends on
204 the platform.
205
Simon Glass31b24b42020-09-10 20:21:27 -0600206endmenu