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