]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - common/Kconfig
karo: merge with Ka-Ro specific tree for secure boot support
[karo-tx-uboot.git] / common / Kconfig
1 menu "Command line interface"
2         depends on !SPL_BUILD
3
4 config HUSH_PARSER
5         bool "Use hush shell"
6         select SYS_HUSH_PARSER
7         help
8           This option enables the "hush" shell (from Busybox) as command line
9           interpreter, thus enabling powerful command line syntax like
10           if...then...else...fi conditionals or `&&' and '||'
11           constructs ("shell scripts").
12
13           If disabled, you get the old, much simpler behaviour with a somewhat
14           smaller memory footprint.
15
16 config SYS_HUSH_PARSER
17         bool
18         help
19           Backward compatibility.
20
21 comment "Commands"
22
23 menu "Info commands"
24
25 config CMD_BDI
26         bool "bdinfo"
27         help
28           Print board info
29
30 config CMD_CONSOLE
31         bool "coninfo"
32         help
33           Print console devices and information.
34
35 config CMD_LICENSE
36         bool "license"
37         help
38           Print GPL license text
39
40 endmenu
41
42 menu "Boot commands"
43
44 config CMD_BOOTD
45         bool "bootd"
46         help
47           Run the command stored in the environment "bootcmd", i.e.
48           "bootd" does the same thing as "run bootcmd".
49
50 config CMD_BOOTM
51         bool "bootm"
52         default y
53         help
54           Boot an application image from the memory.
55
56 config CMD_BOOTZ
57         bool "bootz"
58         default y
59         help
60           Boot a Linux kernel zImage.
61
62 config CMD_BOOTCE
63         bool "bootce"
64         help
65           Boot a WindowsCE image.
66
67 config CMD_GO
68         bool "go"
69         default y
70         help
71           Start an application at a given address.
72
73 config CMD_RUN
74         bool "run"
75         help
76           Run the command in the given environment variable.
77
78 config CMD_IMI
79         bool "iminfo"
80         help
81           Print header information for application image.
82
83 config CMD_IMLS
84         bool "imls"
85         help
86           List all images found in flash
87
88 config CMD_XIMG
89         bool "imxtract"
90         help
91           Extract a part of a multi-image.
92
93 endmenu
94
95 menu "DTB support"
96
97 config OF_LIBFDT
98         bool "Enable FDT commands"
99
100 config OF_BOARD_SETUP
101         bool "Support DT modifications by board code"
102         depends on OF_LIBFDT
103
104 endmenu
105
106 menu "Environment commands"
107
108 config CMD_EXPORTENV
109         bool "env export"
110         default y
111         help
112           Export environments.
113
114 config CMD_IMPORTENV
115         bool "env import"
116         default y
117         help
118           Import environments.
119
120 config CMD_EDITENV
121         bool "editenv"
122         help
123           Edit environment variable.
124
125 config CMD_SAVEENV
126         bool "saveenv"
127         help
128           Run the command in the given environment variable.
129
130 endmenu
131
132 menu "Environment configuration settings"
133
134 choice
135         prompt "Select environment non-volatile storage"
136
137 config ENV_IS_NOWHERE
138         bool "do not store environment"
139
140 config ENV_IS_IN_NAND
141         bool "store environment in NAND"
142         depends on NAND
143
144 config ENV_IS_IN_MMC
145         bool "store environment in MMC"
146         depends on MMC
147
148 endchoice
149
150 endmenu
151
152 menu "Memory commands"
153
154 config CMD_MEMORY
155         bool "md, mm, nm, mw, cp, cmp, base, loop"
156         help
157           Memeory commands.
158             md - memory display
159             mm - memory modify (auto-incrementing address)
160             nm - memory modify (constant address)
161             mw - memory write (fill)
162             cp - memory copy
163             cmp - memory compare
164             base - print or set address offset
165             loop - initinite loop on address range
166
167 config CMD_CRC32
168         bool "crc32"
169         default y
170         help
171           Compute CRC32.
172
173 config LOOPW
174         bool "loopw"
175         help
176           Infinite write loop on address range
177
178 config CMD_MEMTEST
179         bool "crc32"
180         help
181           Simple RAM read/write test.
182
183 config CMD_MX_CYCLIC
184         bool "mdc, mwc"
185         help
186           mdc - memory display cyclic
187           mwc - memory write cyclic
188
189 config CMD_MEMINFO
190         bool "meminfo"
191         help
192           Display memory information.
193
194 endmenu
195
196 menu "Device access commands"
197
198 config CMD_LOADB
199         bool "loadb"
200         help
201           Load a binary file over serial line.
202
203 config CMD_LOADS
204         bool "loads"
205         help
206           Load an S-Record file over serial line
207
208 config CMD_FLASH
209         bool "flinfo, erase, protect"
210         help
211           NOR flash support.
212             flinfo - print FLASH memory information
213             erase - FLASH memory
214             protect - enable or disable FLASH write protection
215
216 config MTD_DEVICE
217         bool "MTD device support"
218
219 config CMD_MTDPARTS
220         bool "MTD partitioning support"
221         default y
222         depends on MTD_DEVICE && (CMD_FLASH || CMD_NAND)
223
224 config CMD_NAND
225         bool "nand"
226         help
227           NAND support.
228
229 config CMD_NAND_TRIMFFS
230         bool "Enable nand write.trimffs command"
231         help
232           Enable command to leave page sized runs of 0xff patterns in
233           erased state rather than overwriting them. This is required
234           for using NAND flash filesystems on NAND controllers with
235           a non-0xff ECC code for all 0xff data.
236
237 config CMD_MMC
238         bool "mmc/sd"
239         help
240           MMC/SD support.
241
242 config CMD_SPI
243         bool "sspi"
244         help
245           SPI utility command.
246
247 config CMD_I2C
248         bool "i2c"
249         help
250           I2C support.
251
252 config CMD_USB
253         bool "usb"
254         help
255           USB support.
256
257 config CMD_FPGA
258         bool "fpga"
259         help
260           FPGA support.
261
262 endmenu
263
264
265 menu "Shell scripting commands"
266
267 config CMD_ECHO
268         bool "echo"
269         help
270           Echo args to console
271
272 config CMD_ITEST
273         bool "itest"
274         help
275           Return true/false on integer compare.
276
277 config CMD_SOURCE
278         bool "source"
279         help
280           Run script from memory
281
282 endmenu
283
284 menu "Network commands"
285
286 config CMD_NET
287         bool "bootp, tftpboot"
288         help
289           Network commands.
290           bootp - boot image via network using BOOTP/TFTP protocol
291           tftpboot - boot image via network using TFTP protocol
292
293 config CMD_TFTPPUT
294         bool "tftp put"
295         help
296           TFTP put command, for uploading files to a server
297
298 config CMD_TFTPSRV
299         bool "tftpsrv"
300         help
301           Act as a TFTP server and boot the first received file
302
303 config CMD_RARP
304         bool "rarpboot"
305         help
306           Boot image via network using RARP/TFTP protocol
307
308 config CMD_DHCP
309         bool "dhcp"
310         help
311           Boot image via network using DHCP/TFTP protocol
312
313 config CMD_NFS
314         bool "nfs"
315         help
316           Boot image via network using NFS protocol.
317
318 config CMD_PING
319         bool "ping"
320         help
321           Send ICMP ECHO_REQUEST to network host
322
323 config CMD_CDP
324         bool "cdp"
325         help
326           Perform CDP network configuration
327
328 config CMD_SNTP
329         bool "sntp"
330         help
331           Synchronize RTC via network
332
333 config CMD_DNS
334         bool "dns"
335         help
336           Lookup the IP of a hostname
337
338 config CMD_DNS
339         bool "dns"
340         help
341           Lookup the IP of a hostname
342
343 config CMD_LINK_LOCAL
344         bool "linklocal"
345         help
346           Acquire a network IP address using the link-local protocol
347
348 endmenu
349
350 menu "Misc commands"
351
352 config CMD_CACHE
353         bool "cache control"
354         help
355           Enable commands to switch data cache on/off.
356
357 config CMD_TIME
358         bool "time"
359         help
360           Run commands and summarize execution time.
361
362 # TODO: rename to CMD_SLEEP
363 config CMD_MISC
364         bool "sleep"
365         help
366           Delay execution for some time
367
368 config CMD_TIMER
369         bool "timer"
370         help
371           Access the system timer.
372
373 config CMD_SETGETDCR
374         bool "getdcr, setdcr, getidcr, setidcr"
375         depends on 4xx
376         help
377           getdcr - Get an AMCC PPC 4xx DCR's value
378           setdcr - Set an AMCC PPC 4xx DCR's value
379           getidcr - Get a register value via indirect DCR addressing
380           setidcr - Set a register value via indirect DCR addressing
381
382 endmenu
383
384 endmenu