Merge tag 'u-boot-imx-20200121' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
[oweals/u-boot.git] / cmd / Kconfig
index b08a7098579bc0426a57332250e6d7d3f4580b3f..b1a1cbcab25ff64a095446f8fdf28bf6192cc750 100644 (file)
@@ -228,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
@@ -251,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
@@ -263,13 +278,6 @@ config CMD_BOOTI
        help
          Boot an AArch64 Linux Kernel image from memory.
 
-config CMD_BOOTEFI
-       bool "bootefi"
-       depends on EFI_LOADER
-       default y
-       help
-         Boot an EFI image from memory.
-
 config BOOTM_LINUX
        bool "Support booting Linux OS images"
        depends on CMD_BOOTM || CMD_BOOTZ || CMD_BOOTI
@@ -293,6 +301,7 @@ config BOOTM_OPENRTOS
 
 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.
@@ -318,9 +327,16 @@ config BOOTM_VXWORKS
        help
          Support booting VxWorks images via the bootm command.
 
+config CMD_BOOTEFI
+       bool "bootefi"
+       depends on EFI_LOADER
+       default y
+       help
+         Boot an EFI image from memory.
+
 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
@@ -348,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
@@ -442,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.
@@ -841,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
@@ -1038,6 +1051,7 @@ config CMD_MMC_SWRITE
 
 config CMD_MTD
        bool "mtd"
+       depends on MTD
        select MTD_PARTITIONS
        help
          MTD commands support.
@@ -1045,6 +1059,7 @@ config CMD_MTD
 config CMD_NAND
        bool "nand"
        default y if NAND_SUNXI
+       depends on MTD_RAW_NAND
        help
          NAND support.
 
@@ -1076,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,
@@ -1468,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"
@@ -1620,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.
@@ -1637,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"
@@ -1666,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
@@ -1953,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
@@ -1961,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