blob: f8632cd59d095aed0175056834ecd85430debfb7 [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 Glass577226c2021-09-25 19:43:24 -060012config TOOLS_CRC32
13 def_bool y
14 help
15 Enable CRC32 support in the tools builds
16
Alexandru Gagniuc9a5bfc12021-07-14 17:05:47 -050017config 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 Dahl3f3c8382023-12-21 08:26:10 +010028config TOOLS_KWBIMAGE
29 bool "Enable kwbimage support in host tools"
30 default y
31 select TOOLS_LIBCRYPTO
32
Simon Glassf16dc6c2021-09-25 19:43:16 -060033config TOOLS_FIT
34 def_bool y
35 help
36 Enable FIT support in the tools builds.
37
38config 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
43config TOOLS_FIT_PRINT
44 def_bool y
45 help
46 Print the content of the FIT verbosely in the tools builds
47
Simon Glasseffa4522021-09-25 19:43:23 -060048config TOOLS_FIT_RSASSA_PSS
49 def_bool y
50 help
51 Support the rsassa-pss signature scheme in the tools builds
52
Simon Glassf16dc6c2021-09-25 19:43:16 -060053config TOOLS_FIT_SIGNATURE
54 def_bool y
55 help
56 Enable signature verification of FIT uImages in the tools builds
57
58config TOOLS_FIT_SIGNATURE_MAX_SIZE
59 hex
60 depends on TOOLS_FIT_SIGNATURE
61 default 0x10000000
62
Simon Glassbd0d7352021-09-25 19:43:22 -060063config TOOLS_FIT_VERBOSE
64 def_bool y
65 help
66 Support verbose FIT output in the tools builds
67
Simon Glass383dd572021-09-25 19:43:18 -060068config TOOLS_MD5
69 def_bool y
70 help
71 Enable MD5 support in the tools builds
72
Simon Glass85c057e2021-09-25 19:43:21 -060073config TOOLS_OF_LIBFDT
74 def_bool y
75 help
76 Enable libfdt support in the tools builds
77
Simon Glass383dd572021-09-25 19:43:18 -060078config TOOLS_SHA1
79 def_bool y
80 help
81 Enable SHA1 support in the tools builds
82
83config TOOLS_SHA256
84 def_bool y
85 help
86 Enable SHA256 support in the tools builds
87
88config TOOLS_SHA384
89 def_bool y
90 help
91 Enable SHA384 support in the tools builds
92
93config TOOLS_SHA512
94 def_bool y
95 help
96 Enable SHA512 support in the tools builds
97
AKASHI Takahiro0f65d832022-02-09 19:10:34 +090098config TOOLS_MKEFICAPSULE
99 bool "Build efimkcapsule command"
100 default y if EFI_CAPSULE_ON_DISK
101 help
102 This command allows users to create a UEFI capsule file and,
103 optionally sign that file. If you want to enable UEFI capsule
104 update feature on your target, you certainly need this.
105
Mamta Shuklaf563f962022-07-12 14:36:17 +0000106menuconfig FSPI_CONF_HEADER
107 bool "FlexSPI Header Configuration"
108 help
109 FSPI Header Configuration
110
111config FSPI_CONF_FILE
112 string "FlexSPI Header File"
113 depends on FSPI_CONF_HEADER
114 help
115 FlexSPI Header File name
116
117config READ_CLK_SOURCE
118 hex "Sampling Clock Source"
119 default 0x00
120 depends on FSPI_CONF_HEADER
121 help
122 Sample Clock source for Flash, default is internal loopback clock
123
124config DEVICE_TYPE
125 hex "Flash Type"
126 default 0x01
127 depends on FSPI_CONF_HEADER
128 help
129 Flash type: Serial NOR (0X01) and Serial NAND (0x02)
130
131config FLASH_PAD_TYPE
132 hex "Flash Pad Type"
133 default 0x01
134 depends on FSPI_CONF_HEADER
135 help
136 Flash Pad type :
137 Single Pad 0x01
138 Dual Pads 0x02
139 Quad Pad 0x04
140 Octal Pad 0x08
141
142config SERIAL_CLK_FREQUENCY
143 hex "Serial Clock Frequency"
144 default 0x02
145 depends on FSPI_CONF_HEADER
146 help
147 Chip specific frequency: other value 30MHz
148 1-30MHz 2-50MHz 3-60MHz 4-75MHz 5-80MHz 6-100MHz 7-133MHz 8-166MHz
149
150config LUT_CUSTOM_SEQUENCE
151 hex "Enable Custom Look Up Table(LUT) Sequence"
152 default 0x00
153 depends on FSPI_CONF_HEADER
154 help
155 0 - Use predefined LUT Sequence
156 1 - Use LUT Sequence provided
157
158config LUT_SEQUENCE
159 string "Look Up Table Sequence"
160 default "0x0b, 0x04, 0x18, 0x08, 0x08, 0x30, 0x04, 0x24"
161 depends on FSPI_CONF_HEADER
162 help
163 Look Up Table Sequence
164
Masami Hiramatsuca09ad72023-05-31 00:29:24 -0500165config TOOLS_MKFWUMDATA
166 bool "Build mkfwumdata command"
167 default y if FWU_MULTI_BANK_UPDATE
168 help
169 This command allows users to create a raw image of the FWU
170 metadata for initial installation of the FWU multi bank
171 update on the board. The installation method depends on
172 the platform.
173
Simon Glass31b24b42020-09-10 20:21:27 -0600174endmenu