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