]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - common/Kconfig
update to 2015.04-rc1
[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         select PARTITIONS
240         help
241           MMC/SD support.
242
243 config CMD_SPI
244         bool "sspi"
245         help
246           SPI utility command.
247
248 config CMD_I2C
249         bool "i2c"
250         help
251           I2C support.
252
253 config CMD_USB
254         bool "usb"
255         help
256           USB support.
257
258 config CMD_FPGA
259         bool "fpga"
260         help
261           FPGA support.
262
263 endmenu
264
265
266 menu "Shell scripting commands"
267
268 config CMD_ECHO
269         bool "echo"
270         help
271           Echo args to console
272
273 config CMD_ITEST
274         bool "itest"
275         help
276           Return true/false on integer compare.
277
278 config CMD_SOURCE
279         bool "source"
280         help
281           Run script from memory
282
283 endmenu
284
285 menu "Network commands"
286
287 config CMD_NET
288         bool "bootp, tftpboot"
289         help
290           Network commands.
291           bootp - boot image via network using BOOTP/TFTP protocol
292           tftpboot - boot image via network using TFTP protocol
293
294 config CMD_TFTPPUT
295         bool "tftp put"
296         help
297           TFTP put command, for uploading files to a server
298
299 config CMD_TFTPSRV
300         bool "tftpsrv"
301         help
302           Act as a TFTP server and boot the first received file
303
304 config CMD_RARP
305         bool "rarpboot"
306         help
307           Boot image via network using RARP/TFTP protocol
308
309 config CMD_DHCP
310         bool "dhcp"
311         help
312           Boot image via network using DHCP/TFTP protocol
313
314 config CMD_NFS
315         bool "nfs"
316         help
317           Boot image via network using NFS protocol.
318
319 config CMD_PING
320         bool "ping"
321         help
322           Send ICMP ECHO_REQUEST to network host
323
324 config CMD_CDP
325         bool "cdp"
326         help
327           Perform CDP network configuration
328
329 config CMD_SNTP
330         bool "sntp"
331         help
332           Synchronize RTC via network
333
334 config CMD_DNS
335         bool "dns"
336         help
337           Lookup the IP of a hostname
338
339 config CMD_DNS
340         bool "dns"
341         help
342           Lookup the IP of a hostname
343
344 config CMD_LINK_LOCAL
345         bool "linklocal"
346         help
347           Acquire a network IP address using the link-local protocol
348
349 endmenu
350
351 menu "Misc commands"
352
353 config CMD_CACHE
354         bool "cache control"
355         help
356           Enable commands to switch data cache on/off.
357
358 config CMD_TIME
359         bool "time"
360         help
361           Run commands and summarize execution time.
362
363 # TODO: rename to CMD_SLEEP
364 config CMD_MISC
365         bool "sleep"
366         help
367           Delay execution for some time
368
369 config CMD_TIMER
370         bool "timer"
371         help
372           Access the system timer.
373
374 config CMD_SETGETDCR
375         bool "getdcr, setdcr, getidcr, setidcr"
376         depends on 4xx
377         help
378           getdcr - Get an AMCC PPC 4xx DCR's value
379           setdcr - Set an AMCC PPC 4xx DCR's value
380           getidcr - Get a register value via indirect DCR addressing
381           setidcr - Set a register value via indirect DCR addressing
382
383 endmenu
384
385 endmenu