Merge git://git.denx.de/u-boot-sunxi
[platform/kernel/u-boot.git] / cmd / Kconfig
index 845589d..676011d 100644 (file)
@@ -116,6 +116,9 @@ endmenu
 
 source "cmd/fastboot/Kconfig"
 
 
 source "cmd/fastboot/Kconfig"
 
+config BUILD_BIN2C
+       bool
+
 comment "Commands"
 
 menu "Info commands"
 comment "Commands"
 
 menu "Info commands"
@@ -222,6 +225,8 @@ config CMD_BOOTEFI_HELLO
          for testing that EFI is working at a basic level, and for bringing
          up EFI support on a new architecture.
 
          for testing that EFI is working at a basic level, and for bringing
          up EFI support on a new architecture.
 
+source lib/efi_selftest/Kconfig
+
 config CMD_BOOTMENU
        bool "bootmenu"
        select MENU
 config CMD_BOOTMENU
        bool "bootmenu"
        select MENU
@@ -261,7 +266,6 @@ config CMD_IMI
 
 config CMD_IMLS
        bool "imls"
 
 config CMD_IMLS
        bool "imls"
-       default y
        help
          List all images found in flash
 
        help
          List all images found in flash
 
@@ -304,6 +308,26 @@ config CMD_SPL_WRITE_SIZE
          flash used by Falcon-mode boot. See the documentation until CMD_SPL
          for detail.
 
          flash used by Falcon-mode boot. See the documentation until CMD_SPL
          for detail.
 
+config CMD_THOR_DOWNLOAD
+       bool "thor - TIZEN 'thor' download"
+       help
+         Implements the 'thor' download protocol. This is a way of
+         downloading a software update over USB from an attached host.
+         There is no documentation about this within the U-Boot source code
+         but you should be able to find something on the interwebs.
+
+config CMD_ZBOOT
+       bool "zboot - x86 boot command"
+       help
+         With x86 machines it is common to boot a bzImage file which
+         contains both a kernel and a setup.bin file. The latter includes
+         configuration information from the dark ages which x86 boards still
+         need to pick things out of.
+
+         Consider using FIT in preference to this since it supports directly
+         booting both 32- and 64-bit kernels, as well as secure boot.
+         Documentation is available in doc/uImage.FIT/x86-fit-boot.txt
+
 endmenu
 
 menu "Environment commands"
 endmenu
 
 menu "Environment commands"
@@ -370,23 +394,10 @@ endmenu
 
 menu "Memory commands"
 
 
 menu "Memory commands"
 
-config CMD_MEMORY
-       bool "md, mm, nm, mw, cp, cmp, base, loop"
-       default y
-       help
-         Memory commands.
-           md - memory display
-           mm - memory modify (auto-incrementing address)
-           nm - memory modify (constant address)
-           mw - memory write (fill)
-           cp - memory copy
-           cmp - memory compare
-           base - print or set address offset
-           loop - initialize loop on address range
-
 config CMD_CRC32
        bool "crc32"
        select HASH
 config CMD_CRC32
        bool "crc32"
        select HASH
+       default n if ARCH_SUNXI
        default y
        help
          Compute CRC32.
        default y
        help
          Compute CRC32.
@@ -445,6 +456,11 @@ config EEPROM_LAYOUT_HELP_STRING
            Help printed with the LAYOUT VERSIONS part of the 'eeprom'
            command's help.
 
            Help printed with the LAYOUT VERSIONS part of the 'eeprom'
            command's help.
 
+config LOOPW
+       bool "loopw"
+       help
+         Infinite write loop on address range
+
 config CMD_MD5SUM
        bool "md5sum"
        default n
 config CMD_MD5SUM
        bool "md5sum"
        default n
@@ -459,22 +475,24 @@ config MD5SUM_VERIFY
        help
          Add -v option to verify data against an MD5 checksum.
 
        help
          Add -v option to verify data against an MD5 checksum.
 
-config CMD_SHA1SUM
-       bool "sha1sum"
-       select SHA1
-       help
-         Compute SHA1 checksum.
-
-config SHA1SUM_VERIFY
-       bool "sha1sum -v"
-       depends on CMD_SHA1SUM
+config CMD_MEMINFO
+       bool "meminfo"
        help
        help
-         Add -v option to verify data against a SHA1 checksum.
+         Display memory information.
 
 
-config LOOPW
-       bool "loopw"
+config CMD_MEMORY
+       bool "md, mm, nm, mw, cp, cmp, base, loop"
+       default y
        help
        help
-         Infinite write loop on address range
+         Memory commands.
+           md - memory display
+           mm - memory modify (auto-incrementing address)
+           nm - memory modify (constant address)
+           mw - memory write (fill)
+           cp - memory copy
+           cmp - memory compare
+           base - print or set address offset
+           loop - initialize loop on address range
 
 config CMD_MEMTEST
        bool "memtest"
 
 config CMD_MEMTEST
        bool "memtest"
@@ -487,10 +505,25 @@ config CMD_MX_CYCLIC
          mdc - memory display cyclic
          mwc - memory write cyclic
 
          mdc - memory display cyclic
          mwc - memory write cyclic
 
-config CMD_MEMINFO
-       bool "meminfo"
+config CMD_SHA1SUM
+       bool "sha1sum"
+       select SHA1
        help
        help
-         Display memory information.
+         Compute SHA1 checksum.
+
+config SHA1SUM_VERIFY
+       bool "sha1sum -v"
+       depends on CMD_SHA1SUM
+       help
+         Add -v option to verify data against a SHA1 checksum.
+
+config CMD_STRINGS
+       bool "strings - display strings in memory"
+       help
+         This works similarly to the Unix 'strings' command except that it
+         works with a memory range. String of printable characters found
+         within the range are displayed. The minimum number of characters
+         for a sequence to be considered a string can be provided.
 
 endmenu
 
 
 endmenu
 
@@ -498,6 +531,7 @@ menu "Compression commands"
 
 config CMD_LZMADEC
        bool "lzmadec"
 
 config CMD_LZMADEC
        bool "lzmadec"
+       default y if CMD_BOOTI
        select LZMA
        help
          Support decompressing an LZMA (Lempel-Ziv-Markov chain algorithm)
        select LZMA
        help
          Support decompressing an LZMA (Lempel-Ziv-Markov chain algorithm)
@@ -505,6 +539,8 @@ config CMD_LZMADEC
 
 config CMD_UNZIP
        bool "unzip"
 
 config CMD_UNZIP
        bool "unzip"
+       default n if ARCH_SUNXI
+       default y if CMD_BOOTI
        help
          Uncompress a zip-compressed memory region.
 
        help
          Uncompress a zip-compressed memory region.
 
@@ -549,7 +585,9 @@ config CMD_DFU
        select USB_FUNCTION_DFU
        help
          Enables the command "dfu" which is used to have U-Boot create a DFU
        select USB_FUNCTION_DFU
        help
          Enables the command "dfu" which is used to have U-Boot create a DFU
-         class device via USB.
+         class device via USB. This command requires that the "dfu_alt_info"
+         environment variable be set and define the alt settings to expose to
+         the host.
 
 config CMD_DM
        bool "dm - Access to driver model information"
 
 config CMD_DM
        bool "dm - Access to driver model information"
@@ -633,10 +671,17 @@ config CMD_GPT
        bool "GPT (GUID Partition Table) command"
        select PARTITION_UUIDS
        select EFI_PARTITION
        bool "GPT (GUID Partition Table) command"
        select PARTITION_UUIDS
        select EFI_PARTITION
+       imply RANDOM_UUID
        help
          Enable the 'gpt' command to ready and write GPT style partition
          tables.
 
        help
          Enable the 'gpt' command to ready and write GPT style partition
          tables.
 
+config RANDOM_UUID
+       bool "GPT Random UUID generation"
+       help
+         Enable the generation of partitions with random UUIDs if none
+         are provided.
+
 config CMD_GPT_RENAME
        bool "GPT partition renaming commands"
        depends on CMD_GPT
 config CMD_GPT_RENAME
        bool "GPT partition renaming commands"
        depends on CMD_GPT
@@ -703,12 +748,14 @@ config CMD_I2C
 
 config CMD_LOADB
        bool "loadb"
 
 config CMD_LOADB
        bool "loadb"
+       default n if ARCH_SUNXI
        default y
        help
          Load a binary file over serial line.
 
 config CMD_LOADS
        bool "loads"
        default y
        help
          Load a binary file over serial line.
 
 config CMD_LOADS
        bool "loads"
+       default n if ARCH_SUNXI
        default y
        help
          Load an S-Record file over serial line
        default y
        help
          Load an S-Record file over serial line
@@ -743,6 +790,13 @@ config CMD_NAND_TORTURE
 
 endif # CMD_NAND
 
 
 endif # CMD_NAND
 
+config CMD_NVME
+       bool "nvme"
+       depends on NVME
+       default y if NVME
+       help
+         NVM Express device support
+
 config CMD_MMC_SPI
        bool "mmc_spi - Set up MMC SPI device"
        help
 config CMD_MMC_SPI
        bool "mmc_spi - Set up MMC SPI device"
        help
@@ -841,11 +895,38 @@ config CMD_SPI
        help
          SPI utility command.
 
        help
          SPI utility command.
 
+config CMD_TSI148
+       bool "tsi148 - Command to access tsi148 device"
+       help
+         This provides various sub-commands to initialise and configure the
+         Turndra tsi148 device. See the command help for full details.
+
+config CMD_UNIVERSE
+       bool "universe - Command to set up the Turndra Universe controller"
+       help
+         This allows setting up the VMEbus provided by this controller.
+         See the command help for full details.
+
 config CMD_USB
        bool "usb"
        help
          USB support.
 
 config CMD_USB
        bool "usb"
        help
          USB support.
 
+config CMD_USB_SDP
+       bool "sdp"
+       select USB_FUNCTION_SDP
+       help
+         Enables the command "sdp" which is used to have U-Boot emulating the
+         Serial Download Protocol (SDP) via USB.
+config CMD_ROCKUSB
+       bool "rockusb"
+       depends on USB_FUNCTION_ROCKUSB
+       help
+          Rockusb protocol is widely used by Rockchip SoC based devices. It can
+         read/write info, image to/from devices. This enable rockusb command
+         support to communication with rockusb device. for more detail about
+         this command, please read doc/README.rockusb.
+
 config CMD_USB_MASS_STORAGE
        bool "UMS usb mass storage"
        help
 config CMD_USB_MASS_STORAGE
        bool "UMS usb mass storage"
        help
@@ -1057,6 +1138,7 @@ config CMD_GETTIME
 # TODO: rename to CMD_SLEEP
 config CMD_MISC
        bool "sleep"
 # TODO: rename to CMD_SLEEP
 config CMD_MISC
        bool "sleep"
+       default n if ARCH_SUNXI
        default y
        help
          Delay execution for some time
        default y
        help
          Delay execution for some time
@@ -1086,8 +1168,29 @@ config CMD_QFW
 
 source "cmd/mvebu/Kconfig"
 
 
 source "cmd/mvebu/Kconfig"
 
+config CMD_TERMINAL
+       bool "terminal - provides a way to attach a serial terminal"
+       help
+         Provides a 'cu'-like serial terminal command. This can be used to
+         access other serial ports from the system console. The terminal
+         is very simple with no special processing of characters. As with
+         cu, you can press ~. (tilde followed by period) to exit.
+
+config CMD_UUID
+       bool "uuid, guid - generation of unique IDs"
+       help
+         This enables two commands:
+
+            uuid - generate random Universally Unique Identifier
+            guid - generate Globally Unique Identifier based on random UUID
+
+         The two commands are very similar except for the endianness of the
+         output.
+
 endmenu
 
 endmenu
 
+source "cmd/ti/Kconfig"
+
 config CMD_BOOTSTAGE
        bool "Enable the 'bootstage' command"
        depends on BOOTSTAGE
 config CMD_BOOTSTAGE
        bool "Enable the 'bootstage' command"
        depends on BOOTSTAGE
@@ -1236,6 +1339,16 @@ config CMD_CROS_EC
 endmenu
 
 menu "Filesystem commands"
 endmenu
 
 menu "Filesystem commands"
+config CMD_BTRFS
+       bool "Enable the 'btrsubvol' command"
+       select FS_BTRFS
+       help
+         This enables the 'btrsubvol' command to list subvolumes
+         of a BTRFS filesystem. There are no special commands for
+         listing BTRFS directories or loading BTRFS files - this
+         can be done by the generic 'fs' commands (see CMD_FS_GENERIC)
+         when BTRFS is enabled (see FS_BTRFS).
+
 config CMD_CBFS
        bool "Enable the 'cbfs' command"
        depends on FS_CBFS
 config CMD_CBFS
        bool "Enable the 'cbfs' command"
        depends on FS_CBFS
@@ -1259,17 +1372,20 @@ config CMD_CRAMFS
 
 config CMD_EXT2
        bool "ext2 command support"
 
 config CMD_EXT2
        bool "ext2 command support"
+       select FS_EXT4
        help
          Enables EXT2 FS command
 
 config CMD_EXT4
        bool "ext4 command support"
        help
          Enables EXT2 FS command
 
 config CMD_EXT4
        bool "ext4 command support"
+       select FS_EXT4
        help
          Enables EXT4 FS command
 
 config CMD_EXT4_WRITE
        depends on CMD_EXT4
        bool "ext4 write command support"
        help
          Enables EXT4 FS command
 
 config CMD_EXT4_WRITE
        depends on CMD_EXT4
        bool "ext4 write command support"
+       select EXT4_WRITE
        help
          Enables EXT4 FS write command
 
        help
          Enables EXT4 FS write command
 
@@ -1306,13 +1422,14 @@ config CMD_MTDPARTS
 
 config MTDIDS_DEFAULT
        string "Default MTD IDs"
 
 config MTDIDS_DEFAULT
        string "Default MTD IDs"
-       depends on CMD_MTDPARTS
+       depends on CMD_MTDPARTS || CMD_NAND || CMD_FLASH
        help
        help
-         Defines a default MTD ID
+         Defines a default MTD IDs list for use with MTD partitions in the
+         Linux MTD command line partitions format.
 
 config MTDPARTS_DEFAULT
        string "Default MTD partition scheme"
 
 config MTDPARTS_DEFAULT
        string "Default MTD partition scheme"
-       depends on CMD_MTDPARTS
+       depends on CMD_MTDPARTS || CMD_NAND || CMD_FLASH
        help
          Defines a default MTD partitioning scheme in the Linux MTD command
          line partitions format
        help
          Defines a default MTD partitioning scheme in the Linux MTD command
          line partitions format
@@ -1345,6 +1462,28 @@ config CMD_SCSI
          scan the bus, reset the bus, read and write data and get information
          about devices.
 
          scan the bus, reset the bus, read and write data and get information
          about devices.
 
+config CMD_YAFFS2
+       bool "yaffs2 - Access of YAFFS2 filesystem"
+       depends on YAFFS2
+       default y
+       help
+         This provides commands for accessing a YAFFS2 filesystem. Yet
+         Another Flash Filesystem 2 is a filesystem designed specifically
+         for NAND flash. It incorporates bad-block management and ensures
+         that device writes are sequential regardless of filesystem
+         activity.
+
+config CMD_ZFS
+       bool "zfs - Access of ZFS filesystem"
+       help
+         This provides commands to accessing a ZFS filesystem, commonly used
+         on Solaris systems. Two sub-commands are provided:
+
+           zfsls - list files in a directory
+           zfsload - load a file
+
+         See doc/README.zfs for more details.
+
 endmenu
 
 menu "Debug commands"
 endmenu
 
 menu "Debug commands"
@@ -1381,6 +1520,23 @@ config CMD_KGDB
          single-stepping, inspecting variables, etc. This is supported only
          on PowerPC at present.
 
          single-stepping, inspecting variables, etc. This is supported only
          on PowerPC at present.
 
+config CMD_LOG
+       bool "log - Generation, control and access to logging"
+       help
+         This provides access to logging features. It allows the output of
+         log data to be controlled to a limited extent (setting up the default
+         maximum log level for emitting of records). It also provides access
+         to a command used for testing the log system.
+
+config CMD_TRACE
+       bool "trace - Support tracing of function calls and timing"
+       help
+         Enables a command to control using of function tracing within
+         U-Boot. This allows recording of call traces including timing
+         information. The command can write data to memory for exporting
+         for analsys (e.g. using bootchart). See doc/README.trace for full
+         details.
+
 endmenu
 
 config CMD_UBI
 endmenu
 
 config CMD_UBI