]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - common/Kconfig
kconfig: add Kconfig options for CONFIG_BOOTP_* settings
[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_ROMUPDATE
218         bool
219         depends on NAND
220
221 config CMD_MMC
222         bool "mmc/sd"
223         select PARTITIONS
224         help
225           MMC/SD support.
226
227 config CMD_SPI
228         bool "sspi"
229         help
230           SPI utility command.
231
232 config CMD_I2C
233         bool "i2c"
234         help
235           I2C support.
236
237 config CMD_USB
238         bool "usb"
239         help
240           USB support.
241
242 config CMD_FPGA
243         bool "fpga"
244         help
245           FPGA support.
246
247 endmenu
248
249
250 menu "Shell scripting commands"
251
252 config CMD_ECHO
253         bool "echo"
254         help
255           Echo args to console
256
257 config CMD_ITEST
258         bool "itest"
259         help
260           Return true/false on integer compare.
261
262 config CMD_SOURCE
263         bool "source"
264         help
265           Run script from memory
266
267 endmenu
268
269 menu "Network commands"
270
271 config CMD_NET
272         bool "bootp, tftpboot"
273         help
274           Network commands.
275           bootp - boot image via network using BOOTP/TFTP protocol
276           tftpboot - boot image via network using TFTP protocol
277
278 config CMD_TFTPPUT
279         bool "tftp put"
280         help
281           TFTP put command, for uploading files to a server
282
283 config CMD_TFTPSRV
284         bool "tftpsrv"
285         help
286           Act as a TFTP server and boot the first received file
287
288 config CMD_RARP
289         bool "rarpboot"
290         help
291           Boot image via network using RARP/TFTP protocol
292
293 config CMD_DHCP
294         bool "dhcp"
295         help
296           Boot image via network using DHCP/TFTP protocol
297
298 if CMD_DHCP
299
300 menu "DHCP options"
301
302 config BOOTP_BOOTFILESIZE
303         bool "obtain bootfile size from DHCP"
304
305 config BOOTP_BOOTPATH
306         bool "obtain bootfile path from DHCP"
307
308 config BOOTP_DNS
309         bool "obtain DNS server IP address from DHCP"
310
311 config BOOTP_DNS2
312         bool "store secondary DNS IP address in dnsip2"
313
314 config BOOTP_GATEWAY
315         bool "obtain gateway IP address from DHCP"
316
317 config BOOTP_ID_CACHE_SIZE
318         int "DHCP transaction ID cache size"
319         default 4
320         help
321           BOOTP packets are uniquely identified using a 32-bit ID. The
322           server will copy the ID from client requests to responses and
323           U-Boot will use this to determine if it is the destination of
324           an incoming response. Some servers will check that addresses
325           aren't in use before handing them out (usually using an ARP
326           ping) and therefore take up to a few hundred milliseconds to
327           respond. Network congestion may also influence the time it
328           takes for a response to make it back to the client. If that
329           time is too long, U-Boot will retransmit requests. In order
330           to allow earlier responses to still be accepted after these
331           retransmissions, U-Boot's BOOTP client keeps a small cache of
332           IDs. The CONFIG_BOOTP_ID_CACHE_SIZE controls the size of this
333           cache. The default is to keep IDs for up to four outstanding
334           requests. Increasing this will allow U-Boot to accept offers
335           from a BOOTP client in networks with unusually high latency.
336
337 config BOOTP_MAY_FAIL
338         bool "Do not start over, if DHCP server is not available"
339         help
340           If the DHCP server is not found after the configured retry
341           count, the call will fail instead of starting over.  This
342           can be used to fail over to Link-local IP address
343           configuration if the DHCP server is not available.
344
345 config BOOTP_NISDOMAIN
346         bool "obtain NIS domain from DHCP"
347
348 config BOOTP_NTPSERVER
349         bool "obtain NTP server IP address from DHCP"
350
351 config BOOTP_RANDOM_DELAY
352         bool "Use a (pseudo) random delay between DHCP retries"
353         select LIB_RAND
354
355 config BOOTP_RANDOM_ID
356         bool "Generate a (pseudo) random transaction ID"
357         select LIB_RAND
358
359 config BOOTP_SEND_HOSTNAME
360         bool "send hostname in DHCP request"
361
362 config BOOTP_SUBNETMASK
363         bool "obtain subnet mask from DHCP"
364
365 config BOOTP_TIMEOFFSET
366         bool "obtain  from DHCP"
367
368 config BOOTP_VENDOREX
369         bool "obtain  from DHCP"
370
371 endmenu
372
373 endif
374
375 config CMD_NFS
376         bool "nfs"
377         help
378           Boot image via network using NFS protocol.
379
380 config CMD_PING
381         bool "ping"
382         help
383           Send ICMP ECHO_REQUEST to network host
384
385 config CMD_CDP
386         bool "cdp"
387         help
388           Perform CDP network configuration
389
390 config CMD_SNTP
391         bool "sntp"
392         help
393           Synchronize RTC via network
394
395 config CMD_DNS
396         bool "dns"
397         help
398           Lookup the IP of a hostname
399
400 config CMD_LINK_LOCAL
401         bool "linklocal"
402         help
403           Acquire a network IP address using the link-local protocol
404
405 config CMD_MII
406         bool "MII register access"
407         help
408           Support reading/writing ETH PHY registers via MII bus
409
410 endmenu
411
412 menu "Misc commands"
413
414 config CMD_CACHE
415         bool "cache control"
416         help
417           Enable commands to switch data cache on/off.
418
419 config CMD_TIME
420         bool "time"
421         help
422           Run commands and summarize execution time.
423
424 # TODO: rename to CMD_SLEEP
425 config CMD_MISC
426         bool "sleep"
427         help
428           Delay execution for some time
429
430 config CMD_TIMER
431         bool "timer"
432         help
433           Access the system timer.
434
435 config CMD_SETGETDCR
436         bool "getdcr, setdcr, getidcr, setidcr"
437         depends on 4xx
438         help
439           getdcr - Get an AMCC PPC 4xx DCR's value
440           setdcr - Set an AMCC PPC 4xx DCR's value
441           getidcr - Get a register value via indirect DCR addressing
442           setidcr - Set a register value via indirect DCR addressing
443
444 endmenu
445
446 endmenu
447
448 menu "Environment configuration settings"
449
450 choice
451         prompt "Select environment non-volatile storage"
452
453 config ENV_IS_NOWHERE
454         bool "do not store environment"
455
456 config ENV_IS_IN_NAND
457         bool "store environment in NAND"
458         depends on NAND
459
460 config ENV_IS_IN_MMC
461         bool "store environment in MMC"
462         depends on MMC
463
464 config ENV_IS_IN_SPI_FLASH
465         bool "store environment in SPI flash"
466
467 endchoice
468
469 endmenu
470
471 menu "Display configuration"
472
473 config LCD
474         bool "LCD support"
475
476 config DISPLAY_BOARDINFO
477         bool "Display board info"
478
479 endmenu