]> git.ipfire.org Git - people/ms/u-boot.git/blame - cmd/Kconfig
fs: btrfs: Add U-Boot fs handlers.
[people/ms/u-boot.git] / cmd / Kconfig
CommitLineData
72a8cf8d
SG
1menu "Command line interface"
2
302a6487
SG
3config CMDLINE
4 bool "Support U-Boot commands"
5 default y
6 help
7 Enable U-Boot's command-line functions. This provides a means
8 to enter commands into U-Boot for a wide variety of purposes. It
9 also allows scripts (containing commands) to be executed.
10 Various commands and command categorys can be indivdually enabled.
11 Depending on the number of commands enabled, this can add
12 substantially to the size of U-Boot.
13
72a8cf8d
SG
14config HUSH_PARSER
15 bool "Use hush shell"
302a6487 16 depends on CMDLINE
72a8cf8d
SG
17 help
18 This option enables the "hush" shell (from Busybox) as command line
19 interpreter, thus enabling powerful command line syntax like
20 if...then...else...fi conditionals or `&&' and '||'
21 constructs ("shell scripts").
22
23 If disabled, you get the old, much simpler behaviour with a somewhat
24 smaller memory footprint.
25
72a8cf8d
SG
26config SYS_PROMPT
27 string "Shell prompt"
28 default "=> "
29 help
30 This string is displayed in the command line to the left of the
31 cursor.
32
33menu "Autoboot options"
34
41598c82
MY
35config AUTOBOOT
36 bool "Autoboot"
37 default y
38 help
39 This enables the autoboot. See doc/README.autoboot for detail.
40
72a8cf8d
SG
41config AUTOBOOT_KEYED
42 bool "Stop autobooting via specific input key / string"
43 default n
44 help
45 This option enables stopping (aborting) of the automatic
46 boot feature only by issuing a specific input key or
47 string. If not enabled, any input key will abort the
48 U-Boot automatic booting process and bring the device
49 to the U-Boot prompt for user input.
50
51config AUTOBOOT_PROMPT
52 string "Autoboot stop prompt"
53 depends on AUTOBOOT_KEYED
54 default "Autoboot in %d seconds\\n"
55 help
56 This string is displayed before the boot delay selected by
57 CONFIG_BOOTDELAY starts. If it is not defined there is no
58 output indicating that autoboot is in progress.
59
60 Note that this define is used as the (only) argument to a
61 printf() call, so it may contain '%' format specifications,
62 provided that it also includes, sepearated by commas exactly
63 like in a printf statement, the required arguments. It is
64 the responsibility of the user to select only such arguments
65 that are valid in the given context.
66
67config AUTOBOOT_ENCRYPTION
68 bool "Enable encryption in autoboot stopping"
69 depends on AUTOBOOT_KEYED
70 default n
71
72config AUTOBOOT_DELAY_STR
73 string "Delay autobooting via specific input key / string"
74 depends on AUTOBOOT_KEYED && !AUTOBOOT_ENCRYPTION
75 help
76 This option delays the automatic boot feature by issuing
77 a specific input key or string. If CONFIG_AUTOBOOT_DELAY_STR
78 or the environment variable "bootdelaykey" is specified
79 and this string is received from console input before
80 autoboot starts booting, U-Boot gives a command prompt. The
81 U-Boot prompt will time out if CONFIG_BOOT_RETRY_TIME is
82 used, otherwise it never times out.
83
84config AUTOBOOT_STOP_STR
85 string "Stop autobooting via specific input key / string"
86 depends on AUTOBOOT_KEYED && !AUTOBOOT_ENCRYPTION
87 help
88 This option enables stopping (aborting) of the automatic
89 boot feature only by issuing a specific input key or
90 string. If CONFIG_AUTOBOOT_STOP_STR or the environment
91 variable "bootstopkey" is specified and this string is
92 received from console input before autoboot starts booting,
93 U-Boot gives a command prompt. The U-Boot prompt never
94 times out, even if CONFIG_BOOT_RETRY_TIME is used.
95
96config AUTOBOOT_KEYED_CTRLC
97 bool "Enable Ctrl-C autoboot interruption"
98 depends on AUTOBOOT_KEYED && !AUTOBOOT_ENCRYPTION
99 default n
100 help
101 This option allows for the boot sequence to be interrupted
102 by ctrl-c, in addition to the "bootdelaykey" and "bootstopkey".
103 Setting this variable provides an escape sequence from the
104 limited "password" strings.
105
106config AUTOBOOT_STOP_STR_SHA256
107 string "Stop autobooting via SHA256 encrypted password"
108 depends on AUTOBOOT_KEYED && AUTOBOOT_ENCRYPTION
109 help
110 This option adds the feature to only stop the autobooting,
111 and therefore boot into the U-Boot prompt, when the input
112 string / password matches a values that is encypted via
113 a SHA256 hash and saved in the environment.
114
115endmenu
116
e016f0b2
SR
117source "cmd/fastboot/Kconfig"
118
72a8cf8d
SG
119comment "Commands"
120
121menu "Info commands"
122
123config CMD_BDI
124 bool "bdinfo"
125 default y
126 help
127 Print board info
128
61304dbe
MY
129config CMD_CONFIG
130 bool "config"
131 select BUILD_BIN2C
132 default SANDBOX
133 help
134 Print ".config" contents.
135
136 If this option is enabled, the ".config" file contents are embedded
137 in the U-Boot image and can be printed on the console by the "config"
138 command. This provides information of which options are enabled on
139 the running U-Boot.
140
72a8cf8d
SG
141config CMD_CONSOLE
142 bool "coninfo"
143 default y
144 help
145 Print console devices and information.
146
147config CMD_CPU
148 bool "cpu"
149 help
150 Print information about available CPUs. This normally shows the
151 number of CPUs, type (e.g. manufacturer, architecture, product or
152 internal name) and clock frequency. Other information may be
153 available depending on the CPU driver.
154
155config CMD_LICENSE
156 bool "license"
d726f225 157 select BUILD_BIN2C
72a8cf8d
SG
158 help
159 Print GPL license text
160
fa379223
CL
161config CMD_REGINFO
162 bool "reginfo"
163 depends on PPC
164 help
165 Register dump
166
72a8cf8d
SG
167endmenu
168
169menu "Boot commands"
170
171config CMD_BOOTD
172 bool "bootd"
173 default y
174 help
175 Run the command stored in the environment "bootcmd", i.e.
176 "bootd" does the same thing as "run bootcmd".
177
178config CMD_BOOTM
179 bool "bootm"
180 default y
181 help
182 Boot an application image from the memory.
183
ab8243e4
DN
184config CMD_BOOTZ
185 bool "bootz"
186 help
187 Boot the Linux zImage
188
26959271
MY
189config CMD_BOOTI
190 bool "booti"
191 depends on ARM64
192 default y
193 help
194 Boot an AArch64 Linux Kernel image from memory.
195
b9939336
AG
196config CMD_BOOTEFI
197 bool "bootefi"
198 depends on EFI_LOADER
199 default y
200 help
201 Boot an EFI image from memory.
202
95b62b2e
AG
203config CMD_BOOTEFI_HELLO_COMPILE
204 bool "Compile a standard EFI hello world binary for testing"
205 depends on CMD_BOOTEFI && (ARM || X86)
206 default y
207 help
208 This compiles a standard EFI hello world application with U-Boot so
209 that it can be used with the test/py testing framework. This is useful
210 for testing that EFI is working at a basic level, and for bringing
211 up EFI support on a new architecture.
212
213 No additional space will be required in the resulting U-Boot binary
214 when this option is enabled.
215
c7ae3dfd
SG
216config CMD_BOOTEFI_HELLO
217 bool "Allow booting a standard EFI hello world for testing"
95b62b2e 218 depends on CMD_BOOTEFI_HELLO_COMPILE
c7ae3dfd
SG
219 help
220 This adds a standard EFI hello world application to U-Boot so that
221 it can be used with the 'bootefi hello' command. This is useful
222 for testing that EFI is working at a basic level, and for bringing
223 up EFI support on a new architecture.
224
623b3a57
HS
225source lib/efi_selftest/Kconfig
226
4880b026
TR
227config CMD_BOOTMENU
228 bool "bootmenu"
229 select MENU
230 help
231 Add an ANSI terminal boot menu command.
232
72a8cf8d
SG
233config CMD_ELF
234 bool "bootelf, bootvx"
235 default y
236 help
237 Boot an ELF/vxWorks image from the memory.
238
23922e26
MS
239config CMD_FDT
240 bool "Flattened Device Tree utility commands"
241 default y
242 depends on OF_LIBFDT
243 help
244 Do FDT related setup before booting into the Operating System.
245
72a8cf8d
SG
246config CMD_GO
247 bool "go"
248 default y
249 help
250 Start an application at a given address.
251
252config CMD_RUN
253 bool "run"
254 default y
255 help
256 Run the command in the given environment variable.
257
258config CMD_IMI
259 bool "iminfo"
260 default y
261 help
262 Print header information for application image.
263
264config CMD_IMLS
265 bool "imls"
266 default y
267 help
268 List all images found in flash
269
270config CMD_XIMG
271 bool "imxtract"
272 default y
273 help
274 Extract a part of a multi-image.
275
276config CMD_POWEROFF
e05d5058
MS
277 bool "poweroff"
278 help
279 Poweroff/Shutdown the system
72a8cf8d 280
72c3033f
SG
281config CMD_SPL
282 bool "spl export - Export boot information for Falcon boot"
283 depends on SPL
284 help
285 Falcon mode allows booting directly from SPL into an Operating
286 System such as Linux, thus skipping U-Boot proper. See
287 doc/README.falcon for full information about how to use this
288 command.
289
203dc1b3
SG
290config CMD_SPL_NAND_OFS
291 hex "Offset of OS command line args for Falcon-mode NAND boot"
292 depends on CMD_SPL
293 default 0
294 help
295 This provides the offset of the command line arguments for Linux
296 when booting from NAND in Falcon mode. See doc/README.falcon
297 for full information about how to use this option (and also see
298 board/gateworks/gw_ventana/README for an example).
299
3a91a253
SG
300config CMD_SPL_WRITE_SIZE
301 hex "Size of argument area"
302 depends on CMD_SPL
303 default 0x2000
304 help
305 This provides the size of the command-line argument area in NAND
306 flash used by Falcon-mode boot. See the documentation until CMD_SPL
307 for detail.
308
9b92a8d7
SG
309config CMD_THOR_DOWNLOAD
310 bool "thor - TIZEN 'thor' download"
311 help
312 Implements the 'thor' download protocol. This is a way of
313 downloading a software update over USB from an attached host.
314 There is no documentation about this within the U-Boot source code
315 but you should be able to find something on the interwebs.
316
e7a815f3
SG
317config CMD_ZBOOT
318 bool "zboot - x86 boot command"
319 help
320 With x86 machines it is common to boot a bzImage file which
321 contains both a kernel and a setup.bin file. The latter includes
322 configuration information from the dark ages which x86 boards still
323 need to pick things out of.
324
325 Consider using FIT in preference to this since it supports directly
326 booting both 32- and 64-bit kernels, as well as secure boot.
327 Documentation is available in doc/uImage.FIT/x86-fit-boot.txt
328
72a8cf8d
SG
329endmenu
330
331menu "Environment commands"
332
ab8243e4
DN
333config CMD_ASKENV
334 bool "ask for env variable"
335 help
336 Ask for environment variable
337
72a8cf8d
SG
338config CMD_EXPORTENV
339 bool "env export"
340 default y
341 help
342 Export environments.
343
344config CMD_IMPORTENV
345 bool "env import"
346 default y
347 help
348 Import environments.
349
350config CMD_EDITENV
351 bool "editenv"
352 default y
353 help
354 Edit environment variable.
355
ab8243e4
DN
356config CMD_GREPENV
357 bool "search env"
358 help
359 Allow for searching environment variables
360
72a8cf8d
SG
361config CMD_SAVEENV
362 bool "saveenv"
363 default y
364 help
365 Save all environment variables into the compiled-in persistent
366 storage.
367
368config CMD_ENV_EXISTS
369 bool "env exists"
370 default y
371 help
372 Check if a variable is defined in the environment for use in
373 shell scripting.
374
a55d29d2
SG
375config CMD_ENV_CALLBACK
376 bool "env callbacks - print callbacks and their associated variables"
377 help
378 Some environment variable have callbacks defined by
379 U_BOOT_ENV_CALLBACK. These are called when the variable changes.
380 For example changing "baudrate" adjust the serial baud rate. This
381 command lists the currently defined callbacks.
382
ffc76589
SG
383config CMD_ENV_FLAGS
384 bool "env flags -print variables that have non-default flags"
385 help
386 Some environment variables have special flags that control their
387 behaviour. For example, serial# can only be written once and cannot
388 be deleted. This command shows the variables that have special
389 flags.
390
72a8cf8d
SG
391endmenu
392
393menu "Memory commands"
394
72a8cf8d
SG
395config CMD_CRC32
396 bool "crc32"
d70f919e 397 select HASH
72a8cf8d
SG
398 default y
399 help
400 Compute CRC32.
401
221a949e
DT
402config CRC32_VERIFY
403 bool "crc32 -v"
404 depends on CMD_CRC32
405 help
406 Add -v option to verify data against a crc32 checksum.
407
a1dc980d
SG
408config CMD_EEPROM
409 bool "eeprom - EEPROM subsystem"
410 help
411 (deprecated, needs conversion to driver model)
412 Provides commands to read and write EEPROM (Electrically Erasable
413 Programmable Read Only Memory) chips that are connected over an
414 I2C bus.
415
416config CMD_EEPROM_LAYOUT
417 bool "Enable layout-aware eeprom commands"
418 depends on CMD_EEPROM
419 help
420 (deprecated, needs conversion to driver model)
421 When enabled, additional eeprom sub-commands become available.
422
423 eeprom print - prints the contents of the eeprom in a human-readable
424 way (eeprom layout fields, and data formatted to be fit for human
425 consumption).
426
427 eeprom update - allows user to update eeprom fields by specifying
428 the field name, and providing the new data in a human readable format
429 (same format as displayed by the eeprom print command).
430
431 Both commands can either auto detect the layout, or be told which
432 layout to use.
433
434 Feature API:
435 __weak int parse_layout_version(char *str)
436 - override to provide your own layout name parsing
437 __weak void __eeprom_layout_assign(struct eeprom_layout *layout,
438 int layout_version);
439 - override to setup the layout metadata based on the version
440 __weak int eeprom_layout_detect(unsigned char *data)
441 - override to provide your own algorithm for detecting layout
442 version
443 eeprom_field.c
444 - contains various printing and updating functions for common
445 types of eeprom fields. Can be used for defining
446 custom layouts.
447
448config EEPROM_LAYOUT_HELP_STRING
449 string "Tells user what layout names are supported"
450 depends on CMD_EEPROM_LAYOUT
451 default "<not defined>"
452 help
453 Help printed with the LAYOUT VERSIONS part of the 'eeprom'
454 command's help.
455
ba71be54
SG
456config LOOPW
457 bool "loopw"
458 help
459 Infinite write loop on address range
460
bea79d7d
AP
461config CMD_MD5SUM
462 bool "md5sum"
463 default n
464 select MD5
465 help
466 Compute MD5 checksum.
467
221a949e 468config MD5SUM_VERIFY
bea79d7d
AP
469 bool "md5sum -v"
470 default n
471 depends on CMD_MD5SUM
472 help
473 Add -v option to verify data against an MD5 checksum.
474
ba71be54
SG
475config CMD_MEMINFO
476 bool "meminfo"
221a949e 477 help
ba71be54 478 Display memory information.
221a949e 479
ba71be54
SG
480config CMD_MEMORY
481 bool "md, mm, nm, mw, cp, cmp, base, loop"
482 default y
72a8cf8d 483 help
ba71be54
SG
484 Memory commands.
485 md - memory display
486 mm - memory modify (auto-incrementing address)
487 nm - memory modify (constant address)
488 mw - memory write (fill)
489 cp - memory copy
490 cmp - memory compare
491 base - print or set address offset
492 loop - initialize loop on address range
72a8cf8d
SG
493
494config CMD_MEMTEST
495 bool "memtest"
496 help
497 Simple RAM read/write test.
498
499config CMD_MX_CYCLIC
500 bool "mdc, mwc"
501 help
502 mdc - memory display cyclic
503 mwc - memory write cyclic
504
ba71be54
SG
505config CMD_SHA1SUM
506 bool "sha1sum"
507 select SHA1
72a8cf8d 508 help
ba71be54
SG
509 Compute SHA1 checksum.
510
511config SHA1SUM_VERIFY
512 bool "sha1sum -v"
513 depends on CMD_SHA1SUM
514 help
515 Add -v option to verify data against a SHA1 checksum.
72a8cf8d 516
00805d7a
SG
517config CMD_STRINGS
518 bool "strings - display strings in memory"
519 help
520 This works similarly to the Unix 'strings' command except that it
521 works with a memory range. String of printable characters found
522 within the range are displayed. The minimum number of characters
523 for a sequence to be considered a string can be provided.
524
ee7c0e71
SG
525endmenu
526
527menu "Compression commands"
528
529config CMD_LZMADEC
530 bool "lzmadec"
531 select LZMA
532 help
533 Support decompressing an LZMA (Lempel-Ziv-Markov chain algorithm)
534 image from memory.
535
e9d33e73
MY
536config CMD_UNZIP
537 bool "unzip"
538 help
539 Uncompress a zip-compressed memory region.
540
541config CMD_ZIP
542 bool "zip"
543 help
544 Compress a memory region with zlib deflate method.
545
72a8cf8d
SG
546endmenu
547
548menu "Device access commands"
549
0c19b4d1
SG
550config CMD_ARMFLASH
551 #depends on FLASH_CFI_DRIVER
552 bool "armflash"
553 help
554 ARM Ltd reference designs flash partition access
555
d315628e
SG
556config CMD_CLK
557 bool "clk - Show clock frequencies"
558 help
559 (deprecated)
560 Shows clock frequences by calling a sock_clk_dump() hook function.
561 This is depreated in favour of using the CLK uclass and accessing
562 clock values from associated drivers. However currently no command
563 exists for this.
564
0c19b4d1
SG
565config CMD_DEMO
566 bool "demo - Demonstration commands for driver model"
567 depends on DM
568 help
569 Provides a 'demo' command which can be used to play around with
570 driver model. To use this properly you will need to enable one or
571 both of the demo devices (DM_DEMO_SHAPE and DM_DEMO_SIMPLE).
572 Otherwise you will always get an empty list of devices. The demo
573 devices are defined in the sandbox device tree, so the easiest
574 option is to use sandbox and pass the -d point to sandbox's
575 u-boot.dtb file.
576
577config CMD_DFU
578 bool "dfu"
579 select USB_FUNCTION_DFU
580 help
581 Enables the command "dfu" which is used to have U-Boot create a DFU
00fd59dd
SG
582 class device via USB. This command requires that the "dfu_alt_info"
583 environment variable be set and define the alt settings to expose to
584 the host.
0c19b4d1 585
72a8cf8d
SG
586config CMD_DM
587 bool "dm - Access to driver model information"
588 depends on DM
589 default y
590 help
591 Provides access to driver model data structures and information,
592 such as a list of devices, list of uclasses and the state of each
593 device (e.g. activated). This is not required for operation, but
594 can be useful to see the state of driver model for debugging or
595 interest.
596
0c19b4d1
SG
597config CMD_FDC
598 bool "fdcboot - Boot from floppy device"
72a8cf8d 599 help
0c19b4d1
SG
600 The 'fdtboot' command allows booting an image from a floppy disk.
601
602config CMD_FLASH
603 bool "flinfo, erase, protect"
604 default y
605 help
606 NOR flash support.
607 flinfo - print FLASH memory information
608 erase - FLASH memory
609 protect - enable or disable FLASH write protection
610
611config CMD_FPGA
612 bool "fpga"
613 default y
614 help
615 FPGA support.
616
617config CMD_FPGA_LOADBP
618 bool "fpga loadbp - load partial bitstream (Xilinx only)"
619 depends on CMD_FPGA
620 help
621 Supports loading an FPGA device from a bitstream buffer containing
622 a partial bitstream.
623
624config CMD_FPGA_LOADFS
625 bool "fpga loadfs - load bitstream from FAT filesystem (Xilinx only)"
626 depends on CMD_FPGA
627 help
628 Supports loading an FPGA device from a FAT filesystem.
629
630config CMD_FPGA_LOADMK
631 bool "fpga loadmk - load bitstream from image"
632 depends on CMD_FPGA
633 help
634 Supports loading an FPGA device from a image generated by mkimage.
635
636config CMD_FPGA_LOADP
637 bool "fpga loadp - load partial bitstream"
638 depends on CMD_FPGA
639 help
640 Supports loading an FPGA device from a bitstream buffer containing
641 a partial bitstream.
642
643config CMD_FPGAD
644 bool "fpgad - dump FPGA registers"
645 help
646 (legacy, needs conversion to driver model)
647 Provides a way to dump FPGA registers by calling the board-specific
648 fpga_get_reg() function. This functions similarly to the 'md'
649 command.
650
651config CMD_FUSE
652 bool "fuse - support for the fuse subssystem"
653 help
654 (deprecated - needs conversion to driver model)
655 This allows reading, sensing, programming or overriding fuses
656 which control the behaviour of the device. The command uses the
657 fuse_...() API.
658
659config CMD_GPIO
660 bool "gpio"
661 help
662 GPIO support.
663
664config CMD_GPT
665 bool "GPT (GUID Partition Table) command"
666 select PARTITION_UUIDS
667 select EFI_PARTITION
668 help
669 Enable the 'gpt' command to ready and write GPT style partition
670 tables.
671
672config CMD_GPT_RENAME
673 bool "GPT partition renaming commands"
674 depends on CMD_GPT
675 help
676 Enables the 'gpt' command to interchange names on two GPT
677 partitions via the 'gpt swap' command or to rename single
678 partitions via the 'rename' command.
72a8cf8d 679
75eb9976
SG
680config CMD_IDE
681 bool "ide - Support for IDE drivers"
fc843a02 682 select IDE
75eb9976
SG
683 help
684 Provides an 'ide' command which allows accessing the IDE drive,
685 reseting the IDE interface, printing the partition table and
686 geting device info. It also enables the 'diskboot' command which
687 permits booting from an IDE drive.
688
594e8d1c
SG
689config CMD_IO
690 bool "io - Support for performing I/O accesses"
691 help
692 Provides an 'iod' command to display I/O space and an 'iow' command
693 to write values to the I/O space. This can be useful for manually
694 checking the state of devices during boot when debugging device
695 drivers, etc.
696
7d0f5c13
SG
697config CMD_IOTRACE
698 bool "iotrace - Support for tracing I/O activity"
699 help
700 Provides an 'iotrace' command which supports recording I/O reads and
701 writes in a trace buffer in memory . It also maintains a checksum
702 of the trace records (even if space is exhausted) so that the
703 sequence of I/O accesses can be verified.
704
705 When debugging drivers it is useful to see what I/O accesses were
706 done and in what order.
707
708 Even if the individual accesses are of little interest it can be
709 useful to verify that the access pattern is consistent each time
710 an operation is performed. In this case a checksum can be used to
711 characterise the operation of a driver. The checksum can be compared
712 across different runs of the operation to verify that the driver is
713 working properly.
714
715 In particular, when performing major refactoring of the driver, where
716 the access pattern should not change, the checksum provides assurance
717 that the refactoring work has not broken the driver.
718
719 This works by sneaking into the io.h heder for an architecture and
720 redirecting I/O accesses through iotrace's tracing mechanism.
721
722 For now no commands are provided to examine the trace buffer. The
723 format is fairly simple, so 'md' is a reasonable substitute.
724
725 Note: The checksum feature is only useful for I/O regions where the
726 contents do not change outside of software control. Where this is not
727 suitable you can fall back to manually comparing the addresses. It
728 might be useful to enhance tracing to only checksum the accesses and
729 not the data read/written.
730
0c19b4d1
SG
731config CMD_I2C
732 bool "i2c"
733 help
734 I2C support.
735
72a8cf8d
SG
736config CMD_LOADB
737 bool "loadb"
738 default y
739 help
740 Load a binary file over serial line.
741
742config CMD_LOADS
743 bool "loads"
744 default y
745 help
746 Load an S-Record file over serial line
747
ab8243e4
DN
748config CMD_MMC
749 bool "mmc"
750 help
751 MMC memory mapped support.
752
72a8cf8d
SG
753config CMD_NAND
754 bool "nand"
522c282f 755 default y if NAND_SUNXI
72a8cf8d
SG
756 help
757 NAND support.
758
e915d201
BB
759if CMD_NAND
760config CMD_NAND_TRIMFFS
761 bool "nand write.trimffs"
d482a8df 762 default y if ARCH_SUNXI
e915d201
BB
763 help
764 Allows one to skip empty pages when flashing something on a NAND.
765
766config CMD_NAND_LOCK_UNLOCK
767 bool "nand lock/unlock"
768 help
769 NAND locking support.
770
771config CMD_NAND_TORTURE
772 bool "nand torture"
773 help
774 NAND torture support.
775
776endif # CMD_NAND
777
0adc38be
ZZ
778config CMD_NVME
779 bool "nvme"
780 depends on NVME
781 default y if NVME
782 help
783 NVM Express device support
784
f38c5f52
SG
785config CMD_MMC_SPI
786 bool "mmc_spi - Set up MMC SPI device"
787 help
788 Provides a way to set up an MMC (Multimedia Card) SPI (Serial
789 Peripheral Interface) device. The device provides a means of
790 accessing an MMC device via SPI using a single data line, limited
791 to 20MHz. It is useful since it reduces the amount of protocol code
792 required.
793
978f0854
SG
794config CMD_ONENAND
795 bool "onenand - access to onenand device"
796 help
797 OneNAND is a brand of NAND ('Not AND' gate) flash which provides
798 various useful features. This command allows reading, writing,
799 and erasing blocks. It allso provides a way to show and change
800 bad blocks, and test the device.
801
b331cd62
PD
802config CMD_PART
803 bool "part"
804 select PARTITION_UUIDS
805 help
806 Read and display information about the partition table on
807 various media.
808
6500ec7a
SG
809config CMD_PCI
810 bool "pci - Access PCI devices"
811 help
812 Provide access to PCI (Peripheral Interconnect Bus), a type of bus
813 used on some devices to allow the CPU to communicate with its
814 peripherals. Sub-commands allow bus enumeration, displaying and
815 changing configuration space and a few other features.
816
7f666555
SG
817config CMD_PCMCIA
818 bool "pinit - Set up PCMCIA device"
819 help
820 Provides a means to initialise a PCMCIA (Personal Computer Memory
821 Card International Association) device. This is an old standard from
822 about 1990. These devices are typically removable memory or network
823 cards using a standard 68-pin connector.
824
b75dfd2d
SG
825config CMD_READ
826 bool "read - Read binary data from a partition"
827 help
828 Provides low-level access to the data in a partition.
829
0c19b4d1
SG
830config CMD_REMOTEPROC
831 bool "remoteproc"
832 depends on REMOTEPROC
833 help
834 Support for Remote Processor control
835
836config CMD_SATA
837 bool "sata - Access SATA subsystem"
838 select SATA
839 help
840 SATA (Serial Advanced Technology Attachment) is a serial bus
841 standard for connecting to hard drives and other storage devices.
842 This command provides information about attached devices and allows
843 reading, writing and other operations.
844
845 SATA replaces PATA (originally just ATA), which stands for Parallel AT
846 Attachment, where AT refers to an IBM AT (Advanced Technology)
847 computer released in 1984.
848
15dc63d6
SG
849config CMD_SAVES
850 bool "saves - Save a file over serial in S-Record format"
851 help
852 Provides a way to save a binary file using the Motorola S-Record
853 format over the serial line.
854
efce2442
SG
855config CMD_SDRAM
856 bool "sdram - Print SDRAM configuration information"
857 help
858 Provides information about attached SDRAM. This assumed that the
859 SDRAM has an EEPROM with information that can be read using the
860 I2C bus. This is only available on some boards.
861
72a8cf8d
SG
862config CMD_SF
863 bool "sf"
864 help
865 SPI Flash support
866
719d36ee
SG
867config CMD_SF_TEST
868 bool "sf test - Allow testing of SPI flash"
869 help
870 Provides a way to test that SPI flash is working correctly. The
871 test is destructive, in that an area of SPI flash must be provided
872 for the test to use. Performance information is also provided,
873 measuring the performance of reading, writing and erasing in
874 Mbps (Million Bits Per Second). This value should approximately
875 equal the SPI bus speed for a single-bit-wide SPI bus, assuming
876 everything is working properly.
877
72a8cf8d
SG
878config CMD_SPI
879 bool "sspi"
880 help
881 SPI utility command.
882
5605aa8a
SG
883config CMD_TSI148
884 bool "tsi148 - Command to access tsi148 device"
885 help
886 This provides various sub-commands to initialise and configure the
887 Turndra tsi148 device. See the command help for full details.
888
2a242e3e
SG
889config CMD_UNIVERSE
890 bool "universe - Command to set up the Turndra Universe controller"
891 help
892 This allows setting up the VMEbus provided by this controller.
893 See the command help for full details.
894
72a8cf8d
SG
895config CMD_USB
896 bool "usb"
897 help
898 USB support.
899
2f005695
SA
900config CMD_USB_SDP
901 bool "sdp"
902 select USB_FUNCTION_SDP
903 help
904 Enables the command "sdp" which is used to have U-Boot emulating the
905 Serial Download Protocol (SDP) via USB.
906
ab8243e4
DN
907config CMD_USB_MASS_STORAGE
908 bool "UMS usb mass storage"
909 help
910 USB mass storage support
911
72a8cf8d
SG
912endmenu
913
914
915menu "Shell scripting commands"
916
917config CMD_ECHO
918 bool "echo"
919 default y
920 help
921 Echo args to console
922
923config CMD_ITEST
924 bool "itest"
925 default y
926 help
927 Return true/false on integer compare.
928
929config CMD_SOURCE
930 bool "source"
931 default y
932 help
933 Run script from memory
934
935config CMD_SETEXPR
936 bool "setexpr"
937 default y
938 help
939 Evaluate boolean and math expressions and store the result in an env
940 variable.
941 Also supports loading the value at a memory location into a variable.
942 If CONFIG_REGEX is enabled, setexpr also supports a gsub function.
943
944endmenu
945
946menu "Network commands"
947
948config CMD_NET
949 bool "bootp, tftpboot"
950 select NET
951 default y
952 help
953 Network commands.
954 bootp - boot image via network using BOOTP/TFTP protocol
955 tftpboot - boot image via network using TFTP protocol
956
957config CMD_TFTPPUT
958 bool "tftp put"
959 help
960 TFTP put command, for uploading files to a server
961
962config CMD_TFTPSRV
963 bool "tftpsrv"
964 help
965 Act as a TFTP server and boot the first received file
966
967config CMD_RARP
968 bool "rarpboot"
969 help
970 Boot image via network using RARP/TFTP protocol
971
972config CMD_DHCP
973 bool "dhcp"
974 help
975 Boot image via network using DHCP/TFTP protocol
976
bfb380b3
YM
977config CMD_PXE
978 bool "pxe"
979 select MENU
980 help
981 Boot image via network using PXE protocol
982
72a8cf8d
SG
983config CMD_NFS
984 bool "nfs"
985 default y
986 help
987 Boot image via network using NFS protocol.
988
ab8243e4
DN
989config CMD_MII
990 bool "mii"
991 help
992 Enable MII utility commands.
993
72a8cf8d
SG
994config CMD_PING
995 bool "ping"
996 help
997 Send ICMP ECHO_REQUEST to network host
998
999config CMD_CDP
1000 bool "cdp"
1001 help
1002 Perform CDP network configuration
1003
1004config CMD_SNTP
1005 bool "sntp"
1006 help
1007 Synchronize RTC via network
1008
1009config CMD_DNS
1010 bool "dns"
1011 help
1012 Lookup the IP of a hostname
1013
1014config CMD_LINK_LOCAL
1015 bool "linklocal"
1016 help
1017 Acquire a network IP address using the link-local protocol
1018
ef072200
SG
1019config CMD_ETHSW
1020 bool "ethsw"
1021 help
1022 Allow control of L2 Ethernet switch commands. These are supported
1023 by the vsc9953 Ethernet driver at present. Sub-commands allow
1024 operations such as enabling / disabling a port and
1025 viewing/maintaining the filtering database (FDB)
1026
72a8cf8d
SG
1027endmenu
1028
1029menu "Misc commands"
1030
0f710258
SG
1031config CMD_BMP
1032 bool "Enable 'bmp' command"
1033 depends on LCD || DM_VIDEO || VIDEO
1034 help
1035 This provides a way to obtain information about a BMP-format iamge
1036 and to display it. BMP (which presumably stands for BitMaP) is a
1037 file format defined by Microsoft which supports images of various
1038 depths, formats and compression methods. Headers on the file
1039 determine the formats used. This command can be used by first loading
1040 the image into RAM, then using this command to look at it or display
1041 it.
1042
4893e34b
SG
1043config CMD_BSP
1044 bool "Enable board-specific commands"
1045 help
1046 (deprecated: instead, please define a Kconfig option for each command)
1047
1048 Some boards have board-specific commands which are only enabled
1049 during developemnt and need to be turned off for production. This
1050 option provides a way to control this. The commands that are enabled
1051 vary depending on the board.
1052
cd3d4880
TM
1053config CMD_BKOPS_ENABLE
1054 bool "mmc bkops enable"
1055 depends on CMD_MMC
1056 default n
1057 help
1058 Enable command for setting manual background operations handshake
1059 on a eMMC device. The feature is optionally available on eMMC devices
1060 conforming to standard >= 4.41.
1061
e40cf34a
EN
1062config CMD_BLOCK_CACHE
1063 bool "blkcache - control and stats for block cache"
1064 depends on BLOCK_CACHE
1065 default y if BLOCK_CACHE
1066 help
1067 Enable the blkcache command, which can be used to control the
1068 operation of the cache functions.
1069 This is most useful when fine-tuning the operation of the cache
1070 during development, but also allows the cache to be disabled when
1071 it might hurt performance (e.g. when using the ums command).
1072
ab8243e4
DN
1073config CMD_CACHE
1074 bool "icache or dcache"
1075 help
1076 Enable the "icache" and "dcache" commands
1077
93d66ee5
SG
1078config CMD_DISPLAY
1079 bool "Enable the 'display' command, for character displays"
1080 help
1081 (this needs porting to driver model)
1082 This enables the 'display' command which allows a string to be
1083 displayed on a simple board-specific display. Implement
1084 display_putc() to use it.
1085
ffe2052d
SG
1086config CMD_LED
1087 bool "led"
1088 default y if LED
1089 help
1090 Enable the 'led' command which allows for control of LEDs supported
1091 by the board. The LEDs can be listed with 'led list' and controlled
1092 with led on/off/togle/blink. Any LED drivers can be controlled with
1093 this command, e.g. led_gpio.
1094
c9032ce1
CP
1095config CMD_DATE
1096 bool "date"
1097 default y if DM_RTC
1098 help
1099 Enable the 'date' command for getting/setting the time/date in RTC
1100 devices.
1101
72a8cf8d
SG
1102config CMD_TIME
1103 bool "time"
1104 help
1105 Run commands and summarize execution time.
1106
d91a9d7f
SG
1107config CMD_GETTIME
1108 bool "gettime - read elapsed time"
1109 help
1110 Enable the 'gettime' command which reads the elapsed time since
1111 U-Boot started running. This shows the time in seconds and
1112 milliseconds. See also the 'bootstage' command which provides more
1113 flexibility for boot timing.
1114
72a8cf8d
SG
1115# TODO: rename to CMD_SLEEP
1116config CMD_MISC
1117 bool "sleep"
1118 default y
1119 help
1120 Delay execution for some time
1121
1122config CMD_TIMER
1123 bool "timer"
1124 help
1125 Access the system timer.
1126
72a8cf8d
SG
1127config CMD_SOUND
1128 bool "sound"
1129 depends on SOUND
1130 help
1131 This provides basic access to the U-Boot's sound support. The main
1132 feature is to play a beep.
1133
1134 sound init - set up sound system
1135 sound play - play a sound
1136
18686590 1137config CMD_QFW
dd6f3abb 1138 bool "qfw"
fcf5c041 1139 select QFW
dd6f3abb
TR
1140 help
1141 This provides access to the QEMU firmware interface. The main
1142 feature is to allow easy loading of files passed to qemu-system
1143 via -kernel / -initrd
fa61ef6b
KP
1144
1145source "cmd/mvebu/Kconfig"
1146
3cef3b31
SG
1147config CMD_TERMINAL
1148 bool "terminal - provides a way to attach a serial terminal"
1149 help
1150 Provides a 'cu'-like serial terminal command. This can be used to
1151 access other serial ports from the system console. The terminal
1152 is very simple with no special processing of characters. As with
1153 cu, you can press ~. (tilde followed by period) to exit.
1154
1aa4e8d0
SG
1155config CMD_UUID
1156 bool "uuid, guid - generation of unique IDs"
1157 help
1158 This enables two commands:
1159
1160 uuid - generate random Universally Unique Identifier
1161 guid - generate Globally Unique Identifier based on random UUID
1162
1163 The two commands are very similar except for the endianness of the
1164 output.
1165
72a8cf8d
SG
1166endmenu
1167
1168config CMD_BOOTSTAGE
1169 bool "Enable the 'bootstage' command"
1170 depends on BOOTSTAGE
1171 help
1172 Add a 'bootstage' command which supports printing a report
1173 and un/stashing of bootstage data.
1174
1175menu "Power commands"
1176config CMD_PMIC
1177 bool "Enable Driver Model PMIC command"
1178 depends on DM_PMIC
1179 help
1180 This is the pmic command, based on a driver model pmic's API.
1181 Command features are unchanged:
1182 - list - list pmic devices
1183 - pmic dev <id> - show or [set] operating pmic device (NEW)
1184 - pmic dump - dump registers
1185 - pmic read address - read byte of register at address
1186 - pmic write address - write byte to register at address
1187 The only one change for this command is 'dev' subcommand.
1188
1189config CMD_REGULATOR
1190 bool "Enable Driver Model REGULATOR command"
1191 depends on DM_REGULATOR
1192 help
1193 This command is based on driver model regulator's API.
1194 User interface features:
1195 - list - list regulator devices
1196 - regulator dev <id> - show or [set] operating regulator device
1197 - regulator info - print constraints info
1198 - regulator status - print operating status
1199 - regulator value <val] <-f> - print/[set] voltage value [uV]
1200 - regulator current <val> - print/[set] current value [uA]
1201 - regulator mode <id> - print/[set] operating mode id
1202 - regulator enable - enable the regulator output
1203 - regulator disable - disable the regulator output
1204
1205 The '-f' (force) option can be used for set the value which exceeds
1206 the limits, which are found in device-tree and are kept in regulator's
1207 uclass platdata structure.
1208
1209endmenu
1210
1211menu "Security commands"
b1a873df
SG
1212config CMD_AES
1213 bool "Enable the 'aes' command"
1214 select AES
1215 help
1216 This provides a means to encrypt and decrypt data using the AES
1217 (Advanced Encryption Standard). This algorithm uses a symetric key
1218 and is widely used as a streaming cipher. Different key lengths are
1219 supported by the algorithm but this command only supports 128 bits
1220 at present.
1221
c04b9b34
SG
1222config CMD_BLOB
1223 bool "Enable the 'blob' command"
1224 help
1225 This is used with the Freescale secure boot mechanism.
1226
1227 Freescale's SEC block has built-in Blob Protocol which provides
1228 a method for protecting user-defined data across system power
1229 cycles. SEC block protects data in a data structure called a Blob,
1230 which provides both confidentiality and integrity protection.
1231
1232 Encapsulating data as a blob
1233 Each time that the Blob Protocol is used to protect data, a
1234 different randomly generated key is used to encrypt the data.
1235 This random key is itself encrypted using a key which is derived
1236 from SoC's non-volatile secret key and a 16 bit Key identifier.
1237 The resulting encrypted key along with encrypted data is called a
1238 blob. The non-volatile secure key is available for use only during
1239 secure boot.
1240
1241 During decapsulation, the reverse process is performed to get back
1242 the original data.
1243
1244 Sub-commands:
1245 blob enc - encapsulating data as a cryptgraphic blob
1246 blob dec - decapsulating cryptgraphic blob to get the data
1247
1248 Syntax:
1249
1250 blob enc src dst len km
1251
1252 Encapsulate and create blob of data $len bytes long
1253 at address $src and store the result at address $dst.
1254 $km is the 16 byte key modifier is also required for
1255 generation/use as key for cryptographic operation. Key
1256 modifier should be 16 byte long.
1257
1258 blob dec src dst len km
1259
1260 Decapsulate the blob of data at address $src and
1261 store result of $len byte at addr $dst.
1262 $km is the 16 byte key modifier is also required for
1263 generation/use as key for cryptographic operation. Key
1264 modifier should be 16 byte long.
1265
551c3934
SG
1266config CMD_HASH
1267 bool "Support 'hash' command"
d70f919e 1268 select HASH
551c3934
SG
1269 help
1270 This provides a way to hash data in memory using various supported
1271 algorithms (such as SHA1, MD5, CRC32). The computed digest can be
1272 saved to memory or to an environment variable. It is also possible
1273 to verify a hash against data in memory.
1274
221a949e
DT
1275config HASH_VERIFY
1276 bool "hash -v"
1277 depends on CMD_HASH
1278 help
1279 Add -v option to verify data against a hash.
1280
72a8cf8d
SG
1281config CMD_TPM
1282 bool "Enable the 'tpm' command"
1283 depends on TPM
1284 help
1285 This provides a means to talk to a TPM from the command line. A wide
1286 range of commands if provided - see 'tpm help' for details. The
1287 command requires a suitable TPM on your board and the correct driver
1288 must be enabled.
1289
1290config CMD_TPM_TEST
1291 bool "Enable the 'tpm test' command"
1292 depends on CMD_TPM
1293 help
1294 This provides a a series of tests to confirm that the TPM is working
1295 correctly. The tests cover initialisation, non-volatile RAM, extend,
1296 global lock and checking that timing is within expectations. The
1297 tests pass correctly on Infineon TPMs but may need to be adjusted
1298 for other devices.
1299
1300endmenu
bfeba017
MF
1301
1302menu "Firmware commands"
1303config CMD_CROS_EC
1304 bool "Enable crosec command"
1305 depends on CROS_EC
1306 default y
1307 help
1308 Enable command-line access to the Chrome OS EC (Embedded
1309 Controller). This provides the 'crosec' command which has
1310 a number of sub-commands for performing EC tasks such as
1311 updating its flash, accessing a small saved context area
1312 and talking to the I2C bus behind the EC (if there is one).
1313endmenu
72a8cf8d 1314
ab8243e4 1315menu "Filesystem commands"
d66a10fc
SG
1316config CMD_CBFS
1317 bool "Enable the 'cbfs' command"
deb95999 1318 depends on FS_CBFS
d66a10fc
SG
1319 help
1320 Define this to enable support for reading from a Coreboot
1321 filesystem. This is a ROM-based filesystem used for accessing files
1322 on systems that use coreboot as the first boot-loader and then load
1323 U-Boot to actually boot the Operating System. Available commands are
1324 cbfsinit, cbfsinfo, cbfsls and cbfsload.
1325
97072747
SG
1326config CMD_CRAMFS
1327 bool "Enable the 'cramfs' command"
80e44cfe 1328 depends on FS_CRAMFS
97072747
SG
1329 help
1330 This provides commands for dealing with CRAMFS (Compressed ROM
1331 filesystem). CRAMFS is useful when space is tight since files are
1332 compressed. Two commands are provided:
1333
1334 cramfsls - lists files in a cramfs image
1335 cramfsload - loads a file from a cramfs image
1336
ab8243e4
DN
1337config CMD_EXT2
1338 bool "ext2 command support"
1339 help
1340 Enables EXT2 FS command
1341
1342config CMD_EXT4
1343 bool "ext4 command support"
1344 help
1345 Enables EXT4 FS command
1346
1347config CMD_EXT4_WRITE
1348 depends on CMD_EXT4
1349 bool "ext4 write command support"
1350 help
1351 Enables EXT4 FS write command
1352
1353config CMD_FAT
1354 bool "FAT command support"
eedfb89e 1355 select FS_FAT
ab8243e4
DN
1356 help
1357 Support for the FAT fs
1358
1359config CMD_FS_GENERIC
1360 bool "filesystem commands"
1361 help
1362 Enables filesystem commands (e.g. load, ls) that work for multiple
1363 fs types.
0269dfae 1364
efbe99ce
JM
1365config CMD_FS_UUID
1366 bool "fsuuid command"
1367 help
1368 Enables fsuuid command for filesystem UUID.
1369
b8682a7f
SG
1370config CMD_JFFS2
1371 bool "jffs2 command"
59e12a4a 1372 select FS_JFFS2
b8682a7f
SG
1373 help
1374 Enables commands to support the JFFS2 (Journalling Flash File System
1375 version 2) filesystem. This enables fsload, ls and fsinfo which
1376 provide the ability to load files, list directories and obtain
1377 filesystem information.
1378
0269dfae 1379config CMD_MTDPARTS
0269dfae
MR
1380 bool "MTD partition support"
1381 help
1382 MTD partition support
1383
1384config MTDIDS_DEFAULT
1385 string "Default MTD IDs"
1386 depends on CMD_MTDPARTS
1387 help
1388 Defines a default MTD ID
1389
1390config MTDPARTS_DEFAULT
1391 string "Default MTD partition scheme"
1392 depends on CMD_MTDPARTS
1393 help
1394 Defines a default MTD partitioning scheme in the Linux MTD command
1395 line partitions format
1396
cb70e6cb
SG
1397config CMD_MTDPARTS_SPREAD
1398 bool "Padd partition size to take account of bad blocks"
1399 depends on CMD_MTDPARTS
1400 help
1401 This enables the 'spread' sub-command of the mtdparts command.
1402 This command will modify the existing mtdparts variable by increasing
1403 the size of the partitions such that 1) each partition's net size is
1404 at least as large as the size specified in the mtdparts variable and
1405 2) each partition starts on a good block.
1406
f8803a99
SG
1407config CMD_REISER
1408 bool "reiser - Access to reiserfs filesystems"
1409 help
1410 This provides two commands which operate on a resierfs filesystem,
1411 commonly used some years ago:
1412
1413 reiserls - list files
1414 reiserload - load a file
1415
0941f597
SG
1416config CMD_SCSI
1417 bool "scsi - Access to SCSI devices"
1418 default y if SCSI
1419 help
1420 This provides a 'scsi' command which provides access to SCSI (Small
1421 Computer System Interface) devices. The command provides a way to
1422 scan the bus, reset the bus, read and write data and get information
1423 about devices.
1424
7a764318
SG
1425config CMD_YAFFS2
1426 bool "yaffs2 - Access of YAFFS2 filesystem"
1427 depends on YAFFS2
1428 default y
1429 help
1430 This provides commands for accessing a YAFFS2 filesystem. Yet
1431 Another Flash Filesystem 2 is a filesystem designed specifically
1432 for NAND flash. It incorporates bad-block management and ensures
1433 that device writes are sequential regardless of filesystem
1434 activity.
1435
54feea17
SG
1436config CMD_ZFS
1437 bool "zfs - Access of ZFS filesystem"
1438 help
1439 This provides commands to accessing a ZFS filesystem, commonly used
1440 on Solaris systems. Two sub-commands are provided:
1441
1442 zfsls - list files in a directory
1443 zfsload - load a file
1444
1445 See doc/README.zfs for more details.
1446
ab8243e4
DN
1447endmenu
1448
ac20a1b2
SG
1449menu "Debug commands"
1450
1451config CMD_BEDBUG
1452 bool "bedbug"
1453 help
1454 The bedbug (emBEDded deBUGger) command provides debugging features
1455 for some PowerPC processors. For details please see the
1456 docuemntation in doc/README.beddbug
1457
3bd25cb5
SG
1458config CMD_DIAG
1459 bool "diag - Board diagnostics"
1460 help
1461 This command provides access to board diagnostic tests. These are
1462 called Power-on Self Tests (POST). The command allows listing of
1463 available tests and running either all the tests, or specific tests
1464 identified by name.
1465
1b330894
SG
1466config CMD_IRQ
1467 bool "irq - Show information about interrupts"
064b55cf 1468 depends on !ARM && !MIPS && !SH
1b330894
SG
1469 help
1470 This enables two commands:
1471
1472 interrupts - enable or disable interrupts
1473 irqinfo - print device-specific interrupt information
6bac227a
SG
1474
1475config CMD_KGDB
1476 bool "kgdb - Allow debugging of U-Boot with gdb"
1477 help
1478 This enables a 'kgdb' command which allows gdb to connect to U-Boot
1479 over a serial link for debugging purposes. This allows
1480 single-stepping, inspecting variables, etc. This is supported only
1481 on PowerPC at present.
1482
ce058ae5
SG
1483config CMD_TRACE
1484 bool "trace - Support tracing of function calls and timing"
1485 help
1486 Enables a command to control using of function tracing within
1487 U-Boot. This allows recording of call traces including timing
1488 information. The command can write data to memory for exporting
1489 for analsys (e.g. using bootchart). See doc/README.trace for full
1490 details.
1491
ac20a1b2
SG
1492endmenu
1493
8f2fe0c8
HS
1494config CMD_UBI
1495 tristate "Enable UBI - Unsorted block images commands"
1496 select CRC32
1497 select MTD_UBI
22cf953a 1498 select CMD_MTDPARTS
522c282f 1499 default y if NAND_SUNXI
8f2fe0c8
HS
1500 help
1501 UBI is a software layer above MTD layer which admits use of LVM-like
1502 logical volumes on top of MTD devices, hides some complexities of
1503 flash chips like wear and bad blocks and provides some other useful
1504 capabilities. Please, consult the MTD web site for more details
1505 (www.linux-mtd.infradead.org). Activate this option if you want
1506 to use U-Boot UBI commands.
1507
173aafbf
BB
1508config CMD_UBIFS
1509 tristate "Enable UBIFS - Unsorted block images filesystem commands"
2bc734b1 1510 depends on CMD_UBI
173aafbf 1511 select CRC32
24fc9531 1512 select LZO
d56b4b19 1513 default y if CMD_UBI
173aafbf
BB
1514 help
1515 UBIFS is a file system for flash devices which works on top of UBI.
1516
72a8cf8d 1517endmenu