]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - common/Kconfig
ead783c1845296eb13849d11d927f760f690beaa
[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         default y
28         help
29           Print board info
30
31 config CMD_CONSOLE
32         bool "coninfo"
33         default y
34         help
35           Print console devices and information.
36
37 config CMD_LICENSE
38         bool "license"
39         help
40           Print GPL license text
41
42 endmenu
43
44 menu "Boot commands"
45
46 config CMD_BOOTD
47         bool "bootd"
48         default y
49         help
50           Run the command stored in the environment "bootcmd", i.e.
51           "bootd" does the same thing as "run bootcmd".
52
53 config CMD_BOOTM
54         bool "bootm"
55         default y
56         help
57           Boot an application image from the memory.
58
59 config CMD_BOOTZ
60         bool "bootz"
61         default y
62         help
63           Boot a Linux kernel zImage.
64
65 config CMD_BOOTCE
66         bool "bootce"
67         help
68           Boot a WindowsCE image.
69
70 config CMD_GO
71         bool "go"
72         default y
73         help
74           Start an application at a given address.
75
76 config CMD_RUN
77         bool "run"
78         default y
79         help
80           Run the command in the given environment variable.
81
82 config CMD_IMI
83         bool "iminfo"
84         default y
85         help
86           Print header information for application image.
87
88 config CMD_IMLS
89         bool "imls"
90         default !SYS_NO_FLASH
91         help
92           List all images found in flash
93
94 config CMD_XIMG
95         bool "imxtract"
96         default y
97         help
98           Extract a part of a multi-image.
99
100 endmenu
101
102 menu "DTB support"
103
104 config OF_LIBFDT
105         bool "Enable FDT commands"
106
107 config OF_BOARD_SETUP
108         bool "Support DT modifications by board code"
109         depends on OF_LIBFDT
110
111 endmenu
112
113 menu "Environment commands"
114
115 config CMD_EXPORTENV
116         bool "env export"
117         default y
118         help
119           Export environments.
120
121 config CMD_IMPORTENV
122         bool "env import"
123         default y
124         help
125           Import environments.
126
127 config CMD_EDITENV
128         bool "editenv"
129         default y
130         help
131           Edit environment variable.
132
133 config CMD_SAVEENV
134         bool "saveenv"
135         default y
136         help
137           Run the command in the given environment variable.
138
139 endmenu
140
141 menu "Memory commands"
142
143 config CMD_MEMORY
144         bool "md, mm, nm, mw, cp, cmp, base, loop"
145         default y
146         help
147           Memeory commands.
148             md - memory display
149             mm - memory modify (auto-incrementing address)
150             nm - memory modify (constant address)
151             mw - memory write (fill)
152             cp - memory copy
153             cmp - memory compare
154             base - print or set address offset
155             loop - initinite loop on address range
156
157 config CMD_CRC32
158         bool "crc32"
159         default y
160         help
161           Compute CRC32.
162
163 config LOOPW
164         bool "loopw"
165         help
166           Infinite write loop on address range
167
168 config CMD_MEMTEST
169         bool "crc32"
170         help
171           Simple RAM read/write test.
172
173 config CMD_MX_CYCLIC
174         bool "mdc, mwc"
175         help
176           mdc - memory display cyclic
177           mwc - memory write cyclic
178
179 config CMD_MEMINFO
180         bool "meminfo"
181         help
182           Display memory information.
183
184 endmenu
185
186 menu "Device access commands"
187
188 config CMD_LOADB
189         bool "loadb"
190         default y
191         help
192           Load a binary file over serial line.
193
194 config CMD_LOADS
195         bool "loads"
196         default y
197         help
198           Load an S-Record file over serial line
199
200 config CMD_FLASH
201         bool "flinfo, erase, protect"
202         default y if !SYS_NO_FLASH
203         help
204           NOR flash support.
205             flinfo - print FLASH memory information
206             erase - FLASH memory
207             protect - enable or disable FLASH write protection
208
209 config MTD_DEVICE
210         bool "MTD device support"
211
212 config CMD_MTDPARTS
213         bool "MTD partitioning support"
214         default y
215         depends on MTD_DEVICE && (CMD_FLASH || CMD_NAND)
216
217 config CMD_NAND
218         bool "nand"
219         help
220           NAND support.
221
222 config CMD_NAND_TRIMFFS
223         bool "Enable nand write.trimffs command"
224         help
225           Enable command to leave page sized runs of 0xff patterns in
226           erased state rather than overwriting them. This is required
227           for using NAND flash filesystems on NAND controllers with
228           a non-0xff ECC code for all 0xff data.
229
230 config CMD_ROMUPDATE
231         bool
232         depends on NAND
233
234 config CMD_MMC
235         bool "mmc/sd"
236         select PARTITIONS
237         help
238           MMC/SD support.
239
240 config CMD_SPI
241         bool "sspi"
242         help
243           SPI utility command.
244
245 config CMD_I2C
246         bool "i2c"
247         help
248           I2C support.
249
250 config CMD_USB
251         bool "usb"
252         help
253           USB support.
254
255 config CMD_FPGA
256         bool "fpga"
257         default y
258         help
259           FPGA support.
260
261 endmenu
262
263
264 menu "Shell scripting commands"
265
266 config CMD_ECHO
267         bool "echo"
268         default y
269         help
270           Echo args to console
271
272 config CMD_ITEST
273         bool "itest"
274         default y
275         help
276           Return true/false on integer compare.
277
278 config CMD_SOURCE
279         bool "source"
280         default y
281         help
282           Run script from memory
283
284 endmenu
285
286 menu "Network commands"
287
288 config CMD_NET
289         bool "bootp, tftpboot"
290         default y
291         help
292           Network commands.
293           bootp - boot image via network using BOOTP/TFTP protocol
294           tftpboot - boot image via network using TFTP protocol
295
296 config CMD_TFTPPUT
297         bool "tftp put"
298         help
299           TFTP put command, for uploading files to a server
300
301 config CMD_TFTPSRV
302         bool "tftpsrv"
303         help
304           Act as a TFTP server and boot the first received file
305
306 config CMD_RARP
307         bool "rarpboot"
308         help
309           Boot image via network using RARP/TFTP protocol
310
311 config CMD_DHCP
312         bool "dhcp"
313         help
314           Boot image via network using DHCP/TFTP protocol
315
316 if CMD_DHCP
317
318 menu "DHCP options"
319
320 config BOOTP_BOOTFILESIZE
321         bool "obtain bootfile size from DHCP"
322
323 config BOOTP_BOOTPATH
324         bool "obtain bootfile path from DHCP"
325
326 config BOOTP_DNS
327         bool "obtain DNS server IP address from DHCP"
328
329 config BOOTP_DNS2
330         bool "store secondary DNS IP address in dnsip2"
331
332 config BOOTP_GATEWAY
333         bool "obtain gateway IP address from DHCP"
334
335 config BOOTP_ID_CACHE_SIZE
336         int "DHCP transaction ID cache size"
337         default 4
338         help
339           BOOTP packets are uniquely identified using a 32-bit ID. The
340           server will copy the ID from client requests to responses and
341           U-Boot will use this to determine if it is the destination of
342           an incoming response. Some servers will check that addresses
343           aren't in use before handing them out (usually using an ARP
344           ping) and therefore take up to a few hundred milliseconds to
345           respond. Network congestion may also influence the time it
346           takes for a response to make it back to the client. If that
347           time is too long, U-Boot will retransmit requests. In order
348           to allow earlier responses to still be accepted after these
349           retransmissions, U-Boot's BOOTP client keeps a small cache of
350           IDs. The CONFIG_BOOTP_ID_CACHE_SIZE controls the size of this
351           cache. The default is to keep IDs for up to four outstanding
352           requests. Increasing this will allow U-Boot to accept offers
353           from a BOOTP client in networks with unusually high latency.
354
355 config BOOTP_MAY_FAIL
356         bool "Do not start over, if DHCP server is not available"
357         help
358           If the DHCP server is not found after the configured retry
359           count, the call will fail instead of starting over.  This
360           can be used to fail over to Link-local IP address
361           configuration if the DHCP server is not available.
362
363 config BOOTP_NISDOMAIN
364         bool "obtain NIS domain from DHCP"
365
366 config BOOTP_NTPSERVER
367         bool "obtain NTP server IP address from DHCP"
368
369 config BOOTP_RANDOM_DELAY
370         bool "Use a (pseudo) random delay between DHCP retries"
371         select LIB_RAND
372
373 config BOOTP_RANDOM_ID
374         bool "Generate a (pseudo) random transaction ID"
375         select LIB_RAND
376
377 config BOOTP_SEND_HOSTNAME
378         bool "send hostname in DHCP request"
379
380 config BOOTP_SUBNETMASK
381         bool "obtain subnet mask from DHCP"
382
383 config BOOTP_TIMEOFFSET
384         bool "obtain  from DHCP"
385
386 config BOOTP_VENDOREX
387         bool "obtain  from DHCP"
388
389 endmenu
390
391 endif
392
393 config CMD_NFS
394         bool "nfs"
395         default y
396         help
397           Boot image via network using NFS protocol.
398
399 config CMD_PING
400         bool "ping"
401         help
402           Send ICMP ECHO_REQUEST to network host
403
404 config CMD_CDP
405         bool "cdp"
406         help
407           Perform CDP network configuration
408
409 config CMD_SNTP
410         bool "sntp"
411         help
412           Synchronize RTC via network
413
414 config CMD_DNS
415         bool "dns"
416         help
417           Lookup the IP of a hostname
418
419 config CMD_LINK_LOCAL
420         bool "linklocal"
421         help
422           Acquire a network IP address using the link-local protocol
423
424 config CMD_MII
425         bool "MII register access"
426         help
427           Support reading/writing ETH PHY registers via MII bus
428
429 endmenu
430
431 menu "Misc commands"
432
433 config CMD_CACHE
434         bool "cache control"
435         help
436           Enable commands to switch data cache on/off.
437
438 config CMD_TIME
439         bool "time"
440         help
441           Run commands and summarize execution time.
442
443 # TODO: rename to CMD_SLEEP
444 config CMD_MISC
445         bool "sleep"
446         default y
447         help
448           Delay execution for some time
449
450 config CMD_TIMER
451         bool "timer"
452         help
453           Access the system timer.
454
455 config CMD_SETGETDCR
456         bool "getdcr, setdcr, getidcr, setidcr"
457         depends on 4xx
458         default y
459         help
460           getdcr - Get an AMCC PPC 4xx DCR's value
461           setdcr - Set an AMCC PPC 4xx DCR's value
462           getidcr - Get a register value via indirect DCR addressing
463           setidcr - Set a register value via indirect DCR addressing
464
465 endmenu
466
467 endmenu
468
469 menu "Environment configuration settings"
470
471 choice
472         prompt "Select environment non-volatile storage"
473
474 config ENV_IS_NOWHERE
475         bool "do not store environment"
476
477 config ENV_IS_IN_NAND
478         bool "store environment in NAND"
479         depends on NAND
480
481 config ENV_IS_IN_MMC
482         bool "store environment in MMC"
483         depends on MMC
484
485 config ENV_IS_IN_SPI_FLASH
486         bool "store environment in SPI flash"
487
488 endchoice
489
490 endmenu
491
492 menu "Display configuration"
493
494 config LCD
495         bool "LCD support"
496
497 config DISPLAY_BOARDINFO
498         bool "Display board info"
499
500 endmenu