Merge branch 'master' of git://git.denx.de/u-boot-spi
[platform/kernel/u-boot.git] / cmd / Kconfig
index 45c8335..b1cd1c9 100644 (file)
@@ -152,8 +152,8 @@ config CMD_BDI
 
 config CMD_CONFIG
        bool "config"
-       select BUILD_BIN2C
        default SANDBOX
+       select BUILD_BIN2C
        help
          Print ".config" contents.
 
@@ -254,6 +254,14 @@ config CMD_BOOTMENU
        help
          Add an ANSI terminal boot menu command.
 
+config CMD_DTIMG
+       bool "dtimg"
+       help
+         Android DTB/DTBO image manipulation commands. Read dtb/dtbo files from
+         image into RAM, dump image structure information, etc. Those dtb/dtbo
+         files should be merged in one dtb further, which needs to be passed to
+         the kernel, as part of a boot process.
+
 config CMD_ELF
        bool "bootelf, bootvx"
        default y
@@ -296,11 +304,6 @@ config CMD_XIMG
        help
          Extract a part of a multi-image.
 
-config CMD_POWEROFF
-       bool "poweroff"
-       help
-         Poweroff/Shutdown the system
-
 config CMD_SPL
        bool "spl export - Export boot information for Falcon boot"
        depends on SPL
@@ -429,8 +432,8 @@ config CMD_BINOP
 
 config CMD_CRC32
        bool "crc32"
-       select HASH
        default y
+       select HASH
        help
          Compute CRC32.
 
@@ -607,6 +610,15 @@ config CMD_ADC
          Shows ADC device info and permit printing one-shot analog converted
          data from a named Analog to Digital Converter.
 
+config CMD_BIND
+       bool "bind/unbind - Bind or unbind a device to/from a driver"
+       depends on DM
+       help
+         Bind or unbind a device to/from a driver from the command line.
+         This is useful in situations where a device may be handled by several
+         drivers. For example, this can be used to bind a UDC to the usb ether
+         gadget driver from the command line.
+
 config CMD_CLK
        bool "clk - Show clock frequencies"
        help
@@ -640,7 +652,6 @@ config CMD_DFU
 config CMD_DM
        bool "dm - Access to driver model information"
        depends on DM
-       default y
        help
          Provides access to driver model data structures and information,
          such as a list of devices, list of uclasses and the state of each
@@ -737,9 +748,9 @@ config CMD_GPIO
 
 config CMD_GPT
        bool "GPT (GUID Partition Table) command"
-       select PARTITION_UUIDS
        select EFI_PARTITION
        select HAVE_BLOCK_DEVICE
+       select PARTITION_UUIDS
        imply RANDOM_UUID
        help
          Enable the 'gpt' command to ready and write GPT style partition
@@ -816,6 +827,13 @@ config CMD_I2C
        help
          I2C support.
 
+config CMD_W1
+       depends on W1
+       default y if W1
+       bool "w1 - Support for Dallas 1-Wire protocol"
+       help
+         Dallas 1-wire protocol support
+
 config CMD_LOADB
        bool "loadb"
        default y
@@ -848,6 +866,12 @@ config CMD_MMC_SWRITE
          Enable support for the "mmc swrite" command to write Android sparse
          images to eMMC.
 
+config CMD_MTD
+       bool "mtd"
+       select MTD_PARTITIONS
+       help
+         MTD commands support.
+
 config CMD_NAND
        bool "nand"
        default y if NAND_SUNXI
@@ -897,10 +921,18 @@ config CMD_ONENAND
          and erasing blocks. It allso provides a way to show and change
          bad blocks, and test the device.
 
+config CMD_OSD
+       bool "osd"
+       help
+         Enable the 'osd' command which allows to query information from and
+         write text data to a on-screen display (OSD) device; a virtual device
+         associated with a display capable of displaying a text overlay on the
+         display it's associated with..
+
 config CMD_PART
        bool "part"
-       select PARTITION_UUIDS
        select HAVE_BLOCK_DEVICE
+       select PARTITION_UUIDS
        help
          Read and display information about the partition table on
          various media.
@@ -921,6 +953,19 @@ config CMD_PCMCIA
          about 1990. These devices are typically removable memory or network
          cards using a standard 68-pin connector.
 
+config CMD_PINMUX
+       bool "pinmux - show pins muxing"
+       default y if PINCTRL
+       help
+         Parse all available pin-controllers and show pins muxing. This
+         is useful for debug purpoer to check the pin muxing and to know if
+         a pin is configured as a GPIO or as an alternate function.
+
+config CMD_POWEROFF
+       bool "poweroff"
+       help
+         Poweroff/Shutdown the system
+
 config CMD_READ
        bool "read - Read binary data from a partition"
        help
@@ -1012,11 +1057,12 @@ config CMD_USB_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
+         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.
@@ -1027,6 +1073,21 @@ config CMD_USB_MASS_STORAGE
        help
          USB mass storage support
 
+config CMD_VIRTIO
+       bool "virtio"
+       depends on VIRTIO
+       default y if VIRTIO
+       help
+         VirtIO block device support
+
+config CMD_AXI
+       bool "axi"
+       depends on AXI
+       help
+         Enable the command "axi" for accessing AXI (Advanced eXtensible
+         Interface) busses, a on-chip interconnect specification for managing
+         functional blocks in SoC designs, which is also often used in designs
+         involving FPGAs (e.g.  communication with IP cores in Xilinx FPGAs).
 endmenu
 
 
@@ -1066,6 +1127,7 @@ if NET
 menuconfig CMD_NET
        bool "Network commands"
        default y
+       imply NETDEVICES
 
 if CMD_NET
 
@@ -1121,6 +1183,16 @@ config BOOTP_HOSTNAME
        help
          The name may or may not be qualified with the local domain name.
 
+config BOOTP_PREFER_SERVERIP
+       bool "serverip variable takes precedent over DHCP server IP."
+       depends on CMD_BOOTP
+       help
+         By default a BOOTP/DHCP reply will overwrite the 'serverip' variable.
+
+         With this option enabled, the 'serverip' variable in the environment
+         takes precedence over DHCP server IP and will only be set by the DHCP
+         server if not already set in the environment.
+
 config BOOTP_SUBNETMASK
        bool "Request & store 'netmask' from BOOTP/DHCP server"
        default y
@@ -1239,6 +1311,11 @@ config CMD_PXE
        help
          Boot image via network using PXE protocol
 
+config CMD_WOL
+       bool "wol"
+       help
+         Wait for wake-on-lan Magic Packet
+
 endif
 
 menu "Misc commands"
@@ -1297,6 +1374,20 @@ config CMD_CACHE
        help
          Enable the "icache" and "dcache" commands
 
+config CMD_CONITRACE
+       bool "conitrace - trace console input codes"
+       help
+         Enable the 'conitrace' command which displays the codes received
+         from the console input as hexadecimal numbers.
+
+config CMD_CLS
+       bool "Enable clear screen command 'cls'"
+       depends on CFB_CONSOLE || DM_VIDEO || LCD || VIDEO
+       default y if LCD
+       help
+         Enable the 'cls' command which clears the screen contents
+         on video frame buffer.
+
 config CMD_DISPLAY
        bool "Enable the 'display' command, for character displays"
        help
@@ -1341,6 +1432,13 @@ config CMD_MISC
        help
          Delay execution for some time
 
+config MP
+       bool "support for multiprocessor"
+       help
+         This provides an option to brinup
+         different processors in multiprocessor
+         cases.
+
 config CMD_TIMER
        bool "timer"
        help
@@ -1467,7 +1565,7 @@ config CMD_BLOB
          the original data.
 
          Sub-commands:
-            blob enc - encapsulating data as a cryptgraphic blob
+           blob enc - encapsulating data as a cryptgraphic blob
            blob dec - decapsulating cryptgraphic blob to get the data
 
          Syntax:
@@ -1522,6 +1620,7 @@ config CMD_TPM_V1
 
 config CMD_TPM_V2
        bool
+       select CMD_LOG
 
 config CMD_TPM
        bool "Enable the 'tpm' command"
@@ -1642,19 +1741,24 @@ config CMD_JFFS2
 
 config CMD_MTDPARTS
        bool "MTD partition support"
+       select MTD_DEVICE if (CMD_NAND || NAND)
        help
-         MTD partition support
+         MTD partitioning tool support.
+         It is strongly encouraged to avoid using this command
+         anymore along with 'sf', 'nand', 'onenand'. One can still
+         declare the partitions in the mtdparts environment variable
+         but better use the MTD stack and the 'mtd' command instead.
 
 config MTDIDS_DEFAULT
        string "Default MTD IDs"
-       depends on CMD_MTDPARTS || CMD_NAND || CMD_FLASH
+       depends on MTD_PARTITIONS || CMD_MTDPARTS || CMD_NAND || CMD_FLASH
        help
          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"
-       depends on CMD_MTDPARTS || CMD_NAND || CMD_FLASH
+       depends on MTD_PARTITIONS || CMD_MTDPARTS || CMD_NAND || CMD_FLASH
        help
          Defines a default MTD partitioning scheme in the Linux MTD command
          line partitions format
@@ -1730,6 +1834,7 @@ config CMD_IRQ
 
 config CMD_KGDB
        bool "kgdb - Allow debugging of U-Boot with gdb"
+       depends on PPC
        help
          This enables a 'kgdb' command which allows gdb to connect to U-Boot
          over a serial link for debugging purposes. This allows
@@ -1756,7 +1861,7 @@ config CMD_TRACE
 
 config CMD_AVB
        bool "avb - Android Verified Boot 2.0 operations"
-       depends on LIBAVB
+       depends on AVB_VERIFY
        default n
        help
          Enables a "avb" command to perform verification of partitions using
@@ -1776,8 +1881,6 @@ config CMD_UBI
        tristate "Enable UBI - Unsorted block images commands"
        select CRC32
        select MTD_UBI
-       select CMD_MTDPARTS
-       default y if NAND_SUNXI
        help
          UBI is a software layer above MTD layer which admits use of LVM-like
          logical volumes on top of MTD devices, hides some complexities of
@@ -1785,13 +1888,15 @@ config CMD_UBI
          capabilities. Please, consult the MTD web site for more details
          (www.linux-mtd.infradead.org). Activate this option if you want
          to use U-Boot UBI commands.
+         It is also strongly encouraged to also enable CONFIG_MTD to get full
+         partition support.
 
 config CMD_UBIFS
        tristate "Enable UBIFS - Unsorted block images filesystem commands"
        depends on CMD_UBI
+       default y if CMD_UBI
        select CRC32
        select LZO
-       default y if CMD_UBI
        help
          UBIFS is a file system for flash devices which works on top of UBI.