Merge tag 'u-boot-imx-20200121' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
[oweals/u-boot.git] / cmd / Kconfig
index 041de1d831ea245ac5540fd1af50adb1ec459c10..b1a1cbcab25ff64a095446f8fdf28bf6192cc750 100644 (file)
@@ -48,6 +48,8 @@ config SYS_LONGHELP
 
 config SYS_PROMPT
        string "Shell prompt"
+       default "Zynq> " if ARCH_ZYNQ
+       default "ZynqMP> " if ARCH_ZYNQMP
        default "=> "
        help
          This string is displayed in the command line to the left of the
@@ -172,6 +174,7 @@ config AUTOBOOT_MENUKEY
 
 config AUTOBOOT_MENU_SHOW
        bool "Show a menu on boot"
+       depends on CMD_BOOTMENU
        help
          This enables the boot menu, controlled by environment variables
          defined by the board. The menu starts after running the 'preboot'
@@ -225,6 +228,14 @@ config CMD_LICENSE
        help
          Print GPL license text
 
+config CMD_PMC
+       bool "pmc"
+       help
+         Provides access to the Intel Power-Management Controller (PMC) so
+         that its state can be examined. This does not currently support
+         changing the state but it is still useful for debugging and seeing
+         what is going on.
+
 config CMD_REGINFO
        bool "reginfo"
        depends on PPC
@@ -248,6 +259,13 @@ config CMD_BOOTM
        help
          Boot an application image from the memory.
 
+config BOOTM_EFI
+       bool "Support booting UEFI FIT images"
+       depends on CMD_BOOTEFI && CMD_BOOTM && FIT
+       default y
+       help
+         Support booting UEFI FIT images via the bootm command.
+
 config CMD_BOOTZ
        bool "bootz"
        help
@@ -260,6 +278,55 @@ config CMD_BOOTI
        help
          Boot an AArch64 Linux Kernel image from memory.
 
+config BOOTM_LINUX
+       bool "Support booting Linux OS images"
+       depends on CMD_BOOTM || CMD_BOOTZ || CMD_BOOTI
+       default y
+       help
+         Support booting the Linux kernel directly via a command such as bootm
+         or booti or bootz.
+
+config BOOTM_NETBSD
+       bool "Support booting NetBSD (non-EFI) loader images"
+       depends on CMD_BOOTM
+       default y
+       help
+         Support booting NetBSD via the bootm command.
+
+config BOOTM_OPENRTOS
+       bool "Support booting OPENRTOS / FreeRTOS images"
+       depends on CMD_BOOTM
+       help
+         Support booting OPENRTOS / FreeRTOS via the bootm command.
+
+config BOOTM_OSE
+       bool "Support booting Enea OSE images"
+       depends on (ARM && (ARM64 || CPU_V7A || CPU_V7R) || SANDBOX || PPC || X86)
+       depends on CMD_BOOTM
+       help
+         Support booting Enea OSE images via the bootm command.
+
+config BOOTM_PLAN9
+       bool "Support booting Plan9 OS images"
+       depends on CMD_BOOTM
+       default y
+       help
+         Support booting Plan9 images via the bootm command.
+
+config BOOTM_RTEMS
+       bool "Support booting RTEMS OS images"
+       depends on CMD_BOOTM
+       default y
+       help
+         Support booting RTEMS images via the bootm command.
+
+config BOOTM_VXWORKS
+       bool "Support booting VxWorks OS images"
+       depends on CMD_BOOTM
+       default y
+       help
+         Support booting VxWorks images via the bootm command.
+
 config CMD_BOOTEFI
        bool "bootefi"
        depends on EFI_LOADER
@@ -269,7 +336,7 @@ config CMD_BOOTEFI
 
 config CMD_BOOTEFI_HELLO_COMPILE
        bool "Compile a standard EFI hello world binary for testing"
-       depends on CMD_BOOTEFI && !CPU_V7M && !SANDBOX
+       depends on CMD_BOOTEFI && !CPU_V7M
        default y
        help
          This compiles a standard EFI hello world application with U-Boot so
@@ -297,8 +364,8 @@ config CMD_BOOTMENU
        help
          Add an ANSI terminal boot menu command.
 
-config CMD_DTIMG
-       bool "dtimg"
+config CMD_ADTIMG
+       bool "adtimg"
        help
          Android DTB/DTBO image manipulation commands. Read dtb/dtbo files from
          image into RAM, dump image structure information, etc. Those dtb/dtbo
@@ -391,6 +458,7 @@ config CMD_FITUPD
 
 config CMD_THOR_DOWNLOAD
        bool "thor - TIZEN 'thor' download"
+       select DFU
        help
          Implements the 'thor' download protocol. This is a way of
          downloading a software update over USB from an attached host.
@@ -482,7 +550,6 @@ config CMD_ENV_FLAGS
 config CMD_NVEDIT_EFI
        bool "env [set|print] -e - set/print UEFI variables"
        depends on EFI_LOADER
-       default y
        imply HEXDUMP
        help
          UEFI variables are encoded as some form of U-Boot variables.
@@ -611,6 +678,20 @@ config CMD_MEMORY
            base - print or set address offset
            loop - initialize loop on address range
 
+config MX_CYCLIC
+       bool "Enable cyclic md/mw commands"
+       depends on CMD_MEMORY
+       help
+          Add the "mdc" and "mwc" memory commands. These are cyclic
+          "md/mw" commands.
+          Examples:
+
+         => mdc.b 10 4 500
+         This command will print 4 bytes (10,11,12,13) each 500 ms.
+
+         => mwc.l 100 12345678 10
+         This command will write 12345678 to address 100 all 10 ms.
+
 config CMD_RANDOM
        bool "random"
        default y
@@ -777,14 +858,10 @@ config CMD_FASTBOOT
 
          See doc/android/fastboot.txt for more information.
 
-config CMD_FDC
-       bool "fdcboot - Boot from floppy device"
-       help
-         The 'fdtboot' command allows booting an image from a floppy disk.
-
 config CMD_FLASH
        bool "flinfo, erase, protect"
        default y
+       depends on MTD || FLASH_CFI_DRIVER || MTD_NOR_FLASH
        help
          NOR flash support.
            flinfo - print FLASH memory information
@@ -974,6 +1051,7 @@ config CMD_MMC_SWRITE
 
 config CMD_MTD
        bool "mtd"
+       depends on MTD
        select MTD_PARTITIONS
        help
          MTD commands support.
@@ -981,6 +1059,7 @@ config CMD_MTD
 config CMD_NAND
        bool "nand"
        default y if NAND_SUNXI
+       depends on MTD_RAW_NAND
        help
          NAND support.
 
@@ -1012,6 +1091,7 @@ config CMD_NVME
 
 config CMD_ONENAND
        bool "onenand - access to onenand device"
+       depends on MTD
        help
          OneNAND is a brand of NAND ('Not AND' gate) flash which provides
          various useful features. This command allows reading, writing,
@@ -1104,6 +1184,7 @@ config CMD_SDRAM
 config CMD_SF
        bool "sf"
        depends on DM_SPI_FLASH || SPI_FLASH
+       default y if DM_SPI_FLASH
        help
          SPI Flash support
 
@@ -1141,6 +1222,13 @@ config CMD_TSI148
          This provides various sub-commands to initialise and configure the
          Turndra tsi148 device. See the command help for full details.
 
+config CMD_UFS
+       bool "Enable UFS - Universal Flash Subsystem commands"
+       depends on UFS
+       help
+         "This provides commands to initialise and configure universal flash
+          subsystem devices"
+
 config CMD_UNIVERSE
        bool "universe - Command to set up the Turndra Universe controller"
        help
@@ -1325,6 +1413,13 @@ config BOOTP_NTPSERVER
        bool "Request & store 'ntpserverip' from BOOTP/DHCP server"
        depends on CMD_BOOTP
 
+config CMD_PCAP
+       bool "pcap capture"
+       help
+         Selecting this will allow capturing all Ethernet packets and store
+         them in physical memory in a PCAP formated file,
+         later to be analyzed by PCAP reader application (IE. WireShark).
+
 config BOOTP_PXE
        bool "Send PXE client arch to BOOTP/DHCP server"
        default y
@@ -1389,8 +1484,22 @@ config CMD_NFS
 
 config CMD_MII
        bool "mii"
+       imply CMD_MDIO
+       help
+         If set, allows 802.3(clause 22) MII Management functions interface access
+         The management interface specified in Clause 22 provides
+         a simple, two signal, serial interface to connect a
+         Station Management entity and a managed PHY for providing access
+         to management parameters and services.
+         The interface is referred to as the MII management interface.
+
+config CMD_MDIO
+       bool "mdio"
+       depends on PHYLIB
        help
-         Enable MII utility commands.
+         If set, allows Enable 802.3(clause 45) MDIO interface registers access
+         The MDIO interface is orthogonal to the MII interface and extends
+         it by adding access to more registers through indirect addressing.
 
 config CMD_PING
        bool "ping"
@@ -1447,7 +1556,7 @@ config CMD_BMP
        bool "Enable 'bmp' command"
        depends on LCD || DM_VIDEO || VIDEO
        help
-         This provides a way to obtain information about a BMP-format iamge
+         This provides a way to obtain information about a BMP-format image
          and to display it. BMP (which presumably stands for BitMaP) is a
          file format defined by Microsoft which supports images of various
          depths, formats and compression methods. Headers on the file
@@ -1541,6 +1650,7 @@ config CMD_LED
 config CMD_DATE
        bool "date"
        default y if DM_RTC
+       select LIB_DATE
        help
          Enable the 'date' command for getting/setting the time/date in RTC
          devices.
@@ -1558,6 +1668,13 @@ config CMD_GETTIME
          milliseconds. See also the 'bootstage' command which provides more
          flexibility for boot timing.
 
+config CMD_RNG
+       bool "rng command"
+       depends on DM_RNG
+       select HEXDUMP
+       help
+         Print bytes from the hardware random number generator.
+
 # TODO: rename to CMD_SLEEP
 config CMD_MISC
        bool "sleep"
@@ -1587,6 +1704,12 @@ config CMD_SOUND
             sound init   - set up sound system
             sound play   - play a sound
 
+config CMD_SYSBOOT
+       bool "sysboot"
+       select MENU
+       help
+         Boot image via local extlinux.conf file
+
 config CMD_QFW
        bool "qfw"
        select QFW
@@ -1874,7 +1997,7 @@ config CMD_JFFS2
 
 config CMD_MTDPARTS
        bool "MTD partition support"
-       select MTD_DEVICE if (CMD_NAND || NAND)
+       depends on MTD
        help
          MTD partitioning tool support.
          It is strongly encouraged to avoid using this command
@@ -1882,30 +2005,38 @@ config CMD_MTDPARTS
          declare the partitions in the mtdparts environment variable
          but better use the MTD stack and the 'mtd' command instead.
 
+config CMD_MTDPARTS_SPREAD
+       bool "Padd partition size to take account of bad blocks"
+       depends on CMD_MTDPARTS
+       help
+         This enables the 'spread' sub-command of the mtdparts command.
+         This command will modify the existing mtdparts variable by increasing
+         the size of the partitions such that 1) each partition's net size is
+         at least as large as the size specified in the mtdparts variable and
+         2) each partition starts on a good block.
+
+config CMD_MTDPARTS_SHOW_NET_SIZES
+       bool "Show net size (w/o bad blocks) of partitions"
+       depends on CMD_MTDPARTS
+       help
+         Adds two columns to the printed partition table showing the
+         effective usable size of a partition, if bad blocks are taken
+         into account.
+
 config MTDIDS_DEFAULT
        string "Default MTD IDs"
-       depends on MTD_PARTITIONS || CMD_MTDPARTS || CMD_NAND || CMD_FLASH
+       depends on MTD || SPI_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 MTD_PARTITIONS || CMD_MTDPARTS || CMD_NAND || CMD_FLASH
+       depends on MTD || SPI_FLASH
        help
          Defines a default MTD partitioning scheme in the Linux MTD command
          line partitions format
 
-config CMD_MTDPARTS_SPREAD
-       bool "Padd partition size to take account of bad blocks"
-       depends on CMD_MTDPARTS
-       help
-         This enables the 'spread' sub-command of the mtdparts command.
-         This command will modify the existing mtdparts variable by increasing
-         the size of the partitions such that 1) each partition's net size is
-         at least as large as the size specified in the mtdparts variable and
-         2) each partition starts on a good block.
-
 config CMD_REISER
        bool "reiser - Access to reiserfs filesystems"
        help