]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - common/Kconfig
kconfig: add Kconfig option for CMD_MII
[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 config CMD_NFS
299         bool "nfs"
300         help
301           Boot image via network using NFS protocol.
302
303 config CMD_PING
304         bool "ping"
305         help
306           Send ICMP ECHO_REQUEST to network host
307
308 config CMD_CDP
309         bool "cdp"
310         help
311           Perform CDP network configuration
312
313 config CMD_SNTP
314         bool "sntp"
315         help
316           Synchronize RTC via network
317
318 config CMD_DNS
319         bool "dns"
320         help
321           Lookup the IP of a hostname
322
323 config CMD_LINK_LOCAL
324         bool "linklocal"
325         help
326           Acquire a network IP address using the link-local protocol
327
328 config CMD_MII
329         bool "MII register access"
330         help
331           Support reading/writing ETH PHY registers via MII bus
332
333 endmenu
334
335 menu "Misc commands"
336
337 config CMD_CACHE
338         bool "cache control"
339         help
340           Enable commands to switch data cache on/off.
341
342 config CMD_TIME
343         bool "time"
344         help
345           Run commands and summarize execution time.
346
347 # TODO: rename to CMD_SLEEP
348 config CMD_MISC
349         bool "sleep"
350         help
351           Delay execution for some time
352
353 config CMD_TIMER
354         bool "timer"
355         help
356           Access the system timer.
357
358 config CMD_SETGETDCR
359         bool "getdcr, setdcr, getidcr, setidcr"
360         depends on 4xx
361         help
362           getdcr - Get an AMCC PPC 4xx DCR's value
363           setdcr - Set an AMCC PPC 4xx DCR's value
364           getidcr - Get a register value via indirect DCR addressing
365           setidcr - Set a register value via indirect DCR addressing
366
367 endmenu
368
369 endmenu
370
371 menu "Environment configuration settings"
372
373 choice
374         prompt "Select environment non-volatile storage"
375
376 config ENV_IS_NOWHERE
377         bool "do not store environment"
378
379 config ENV_IS_IN_NAND
380         bool "store environment in NAND"
381         depends on NAND
382
383 config ENV_IS_IN_MMC
384         bool "store environment in MMC"
385         depends on MMC
386
387 config ENV_IS_IN_SPI_FLASH
388         bool "store environment in SPI flash"
389
390 endchoice
391
392 endmenu
393
394 menu "Display configuration"
395
396 config LCD
397         bool "LCD support"
398
399 config DISPLAY_BOARDINFO
400         bool "Display board info"
401
402 endmenu