]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - common/Kconfig
83cceaaef7efe42b8330c74e434aae1242674240
[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 "Memory commands"
133
134 config CMD_MEMORY
135         bool "md, mm, nm, mw, cp, cmp, base, loop"
136         help
137           Memeory commands.
138             md - memory display
139             mm - memory modify (auto-incrementing address)
140             nm - memory modify (constant address)
141             mw - memory write (fill)
142             cp - memory copy
143             cmp - memory compare
144             base - print or set address offset
145             loop - initinite loop on address range
146
147 config CMD_CRC32
148         bool "crc32"
149         default y
150         help
151           Compute CRC32.
152
153 config LOOPW
154         bool "loopw"
155         help
156           Infinite write loop on address range
157
158 config CMD_MEMTEST
159         bool "crc32"
160         help
161           Simple RAM read/write test.
162
163 config CMD_MX_CYCLIC
164         bool "mdc, mwc"
165         help
166           mdc - memory display cyclic
167           mwc - memory write cyclic
168
169 config CMD_MEMINFO
170         bool "meminfo"
171         help
172           Display memory information.
173
174 endmenu
175
176 menu "Device access commands"
177
178 config CMD_LOADB
179         bool "loadb"
180         help
181           Load a binary file over serial line.
182
183 config CMD_LOADS
184         bool "loads"
185         help
186           Load an S-Record file over serial line
187
188 config CMD_FLASH
189         bool "flinfo, erase, protect"
190         help
191           NOR flash support.
192             flinfo - print FLASH memory information
193             erase - FLASH memory
194             protect - enable or disable FLASH write protection
195
196 config MTD_DEVICE
197         bool "MTD device support"
198
199 config CMD_MTDPARTS
200         bool "MTD partitioning support"
201         default y
202         depends on MTD_DEVICE && (CMD_FLASH || CMD_NAND)
203
204 config CMD_NAND
205         bool "nand"
206         help
207           NAND support.
208
209 config CMD_NAND_TRIMFFS
210         bool "Enable nand write.trimffs command"
211         help
212           Enable command to leave page sized runs of 0xff patterns in
213           erased state rather than overwriting them. This is required
214           for using NAND flash filesystems on NAND controllers with
215           a non-0xff ECC code for all 0xff data.
216
217 config CMD_MMC
218         bool "mmc/sd"
219         select PARTITIONS
220         help
221           MMC/SD support.
222
223 config CMD_SPI
224         bool "sspi"
225         help
226           SPI utility command.
227
228 config CMD_I2C
229         bool "i2c"
230         help
231           I2C support.
232
233 config CMD_USB
234         bool "usb"
235         help
236           USB support.
237
238 config CMD_FPGA
239         bool "fpga"
240         help
241           FPGA support.
242
243 endmenu
244
245
246 menu "Shell scripting commands"
247
248 config CMD_ECHO
249         bool "echo"
250         help
251           Echo args to console
252
253 config CMD_ITEST
254         bool "itest"
255         help
256           Return true/false on integer compare.
257
258 config CMD_SOURCE
259         bool "source"
260         help
261           Run script from memory
262
263 endmenu
264
265 menu "Network commands"
266
267 config CMD_NET
268         bool "bootp, tftpboot"
269         help
270           Network commands.
271           bootp - boot image via network using BOOTP/TFTP protocol
272           tftpboot - boot image via network using TFTP protocol
273
274 config CMD_TFTPPUT
275         bool "tftp put"
276         help
277           TFTP put command, for uploading files to a server
278
279 config CMD_TFTPSRV
280         bool "tftpsrv"
281         help
282           Act as a TFTP server and boot the first received file
283
284 config CMD_RARP
285         bool "rarpboot"
286         help
287           Boot image via network using RARP/TFTP protocol
288
289 config CMD_DHCP
290         bool "dhcp"
291         help
292           Boot image via network using DHCP/TFTP protocol
293
294 config CMD_NFS
295         bool "nfs"
296         help
297           Boot image via network using NFS protocol.
298
299 config CMD_PING
300         bool "ping"
301         help
302           Send ICMP ECHO_REQUEST to network host
303
304 config CMD_CDP
305         bool "cdp"
306         help
307           Perform CDP network configuration
308
309 config CMD_SNTP
310         bool "sntp"
311         help
312           Synchronize RTC via network
313
314 config CMD_DNS
315         bool "dns"
316         help
317           Lookup the IP of a hostname
318
319 config CMD_LINK_LOCAL
320         bool "linklocal"
321         help
322           Acquire a network IP address using the link-local protocol
323
324 endmenu
325
326 menu "Misc commands"
327
328 config CMD_CACHE
329         bool "cache control"
330         help
331           Enable commands to switch data cache on/off.
332
333 config CMD_TIME
334         bool "time"
335         help
336           Run commands and summarize execution time.
337
338 # TODO: rename to CMD_SLEEP
339 config CMD_MISC
340         bool "sleep"
341         help
342           Delay execution for some time
343
344 config CMD_TIMER
345         bool "timer"
346         help
347           Access the system timer.
348
349 config CMD_SETGETDCR
350         bool "getdcr, setdcr, getidcr, setidcr"
351         depends on 4xx
352         help
353           getdcr - Get an AMCC PPC 4xx DCR's value
354           setdcr - Set an AMCC PPC 4xx DCR's value
355           getidcr - Get a register value via indirect DCR addressing
356           setidcr - Set a register value via indirect DCR addressing
357
358 endmenu
359
360 endmenu
361
362 menu "Environment configuration settings"
363
364 choice
365         prompt "Select environment non-volatile storage"
366
367 config ENV_IS_NOWHERE
368         bool "do not store environment"
369
370 config ENV_IS_IN_NAND
371         bool "store environment in NAND"
372         depends on NAND
373
374 config ENV_IS_IN_MMC
375         bool "store environment in MMC"
376         depends on MMC
377
378 config ENV_IS_IN_SPI_FLASH
379         bool "store environment in SPI flash"
380
381 endchoice
382
383 endmenu