Merge https://gitlab.denx.de/u-boot/custodians/u-boot-sh
[platform/kernel/u-boot.git] / cmd / Kconfig
index 6403bc4..e2b0a4f 100644 (file)
@@ -190,6 +190,20 @@ comment "Commands"
 
 menu "Info commands"
 
 
 menu "Info commands"
 
+config CMD_ACPI
+       bool "acpi"
+       default y if ACPIGEN
+       help
+         List and dump ACPI tables. ACPI (Advanced Configuration and Power
+         Interface) is used mostly on x86 for providing information to the
+         Operating System about devices in the system. The tables are set up
+         by the firmware, typically U-Boot but possibly an earlier firmware
+         module, if U-Boot is chain-loaded from something else. ACPI tables
+         can also include code, to perform hardware-specific tasks required
+         by the Operating Systems. This allows some amount of separation
+         between the firmware and OS, and is particularly useful when you
+         want to make hardware changes without the OS needing to be adjusted.
+
 config CMD_BDI
        bool "bdinfo"
        default y
 config CMD_BDI
        bool "bdinfo"
        default y
@@ -364,6 +378,7 @@ config CMD_BOOTEFI_HELLO_COMPILE
 config CMD_BOOTEFI_HELLO
        bool "Allow booting a standard EFI hello world for testing"
        depends on CMD_BOOTEFI_HELLO_COMPILE
 config CMD_BOOTEFI_HELLO
        bool "Allow booting a standard EFI hello world for testing"
        depends on CMD_BOOTEFI_HELLO_COMPILE
+       default y if CMD_BOOTEFI_SELFTEST
        help
          This adds a standard EFI hello world application to U-Boot so that
          it can be used with the 'bootefi hello' command. This is useful
        help
          This adds a standard EFI hello world application to U-Boot so that
          it can be used with the 'bootefi hello' command. This is useful
@@ -399,6 +414,7 @@ config CMD_ABOOTIMG
 config CMD_ELF
        bool "bootelf, bootvx"
        default y
 config CMD_ELF
        bool "bootelf, bootvx"
        default y
+       select LIB_ELF
        help
          Boot an ELF/vxWorks image from the memory.
 
        help
          Boot an ELF/vxWorks image from the memory.
 
@@ -474,12 +490,6 @@ 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_FITUPD
-       bool "fitImage update command"
-       help
-         Implements the 'fitupd' command, which allows to automatically
-         store software updates present on a TFTP server in NOR Flash
-
 config CMD_THOR_DOWNLOAD
        bool "thor - TIZEN 'thor' download"
        select DFU
 config CMD_THOR_DOWNLOAD
        bool "thor - TIZEN 'thor' download"
        select DFU
@@ -591,6 +601,7 @@ config CMD_NVEDIT_INFO
          This command can be optionally used for evaluation in scripts:
          [-d] : evaluate whether default environment is used
          [-p] : evaluate whether environment can be persisted
          This command can be optionally used for evaluation in scripts:
          [-d] : evaluate whether default environment is used
          [-p] : evaluate whether environment can be persisted
+         [-q] : quiet output
          The result of multiple evaluations will be combined with AND.
 
 endmenu
          The result of multiple evaluations will be combined with AND.
 
 endmenu
@@ -702,6 +713,20 @@ config CMD_MEMORY
            base - print or set address offset
            loop - initialize loop on address range
 
            base - print or set address offset
            loop - initialize loop on address range
 
+config MEM_SEARCH
+       bool "ms - Memory search"
+       help
+         Memory-search command
+
+         This allows searching through a region of memory looking for hex
+         data (byte, 16-bit word, 32-bit long, also 64-bit on machines that
+         support it). It is also possible to search for a string. The
+         command accepts a memory range and a list of values to search for.
+         The values need to appear in memory in the same order they are given
+         in the command. At most 10 matches can be returned at a time, but
+         pressing return will show the next 10 matches. Environment variables
+         are set for use with scripting (memmatches, memaddr, mempos).
+
 config CMD_MX_CYCLIC
        bool "Enable cyclic md/mw commands"
        depends on CMD_MEMORY
 config CMD_MX_CYCLIC
        bool "Enable cyclic md/mw commands"
        depends on CMD_MEMORY
@@ -735,6 +760,22 @@ config SYS_ALT_MEMTEST
        help
          Use a more complete alternative memory test.
 
        help
          Use a more complete alternative memory test.
 
+config SYS_MEMTEST_START
+       hex "default start address for mtest"
+       default 0
+       help
+         This is the default start address for mtest for simple read/write
+         test. If no arguments are given to mtest, default address is used
+         as start address.
+
+config SYS_MEMTEST_END
+       hex "default end address for mtest"
+       default 0x1000
+       help
+         This is the default end address for mtest for simple read/write
+         test. If no arguments are given to mtest, default address is used
+         as end address.
+
 endif
 
 config CMD_SHA1SUM
 endif
 
 config CMD_SHA1SUM
@@ -769,14 +810,23 @@ config CMD_LZMADEC
          Support decompressing an LZMA (Lempel-Ziv-Markov chain algorithm)
          image from memory.
 
          Support decompressing an LZMA (Lempel-Ziv-Markov chain algorithm)
          image from memory.
 
+config CMD_UNLZ4
+       bool "unlz4"
+       default y if CMD_BOOTI
+       select LZ4
+       help
+         Support decompressing an LZ4 image from memory region.
+
 config CMD_UNZIP
        bool "unzip"
        default y if CMD_BOOTI
 config CMD_UNZIP
        bool "unzip"
        default y if CMD_BOOTI
+       select GZIP
        help
          Uncompress a zip-compressed memory region.
 
 config CMD_ZIP
        bool "zip"
        help
          Uncompress a zip-compressed memory region.
 
 config CMD_ZIP
        bool "zip"
+       select GZIP_COMPRESSED
        help
          Compress a memory region with zlib deflate method.
 
        help
          Compress a memory region with zlib deflate method.
 
@@ -1047,26 +1097,46 @@ config CMD_LOADS
        help
          Load an S-Record file over serial line
 
        help
          Load an S-Record file over serial line
 
+config CMD_LSBLK
+       depends on BLK
+       bool "lsblk - list block drivers and devices"
+       help
+         Print list of available block device drivers, and for each, the list
+         of known block devices.
+
 config CMD_MMC
        bool "mmc"
        help
          MMC memory mapped support.
 
 config CMD_MMC
        bool "mmc"
        help
          MMC memory mapped support.
 
+if CMD_MMC
+
+config CMD_BKOPS_ENABLE
+       bool "mmc bkops enable"
+       depends on CMD_MMC
+       default n
+       help
+         Enable command for setting manual background operations handshake
+         on a eMMC device. The feature is optionally available on eMMC devices
+         conforming to standard >= 4.41.
+
 config CMD_MMC_RPMB
        bool "Enable support for RPMB in the mmc command"
 config CMD_MMC_RPMB
        bool "Enable support for RPMB in the mmc command"
-       depends on CMD_MMC
+       depends on SUPPORT_EMMC_RPMB
        help
          Enable the commands for reading, writing and programming the
          key for the Replay Protection Memory Block partition in eMMC.
 
 config CMD_MMC_SWRITE
        bool "mmc swrite"
        help
          Enable the commands for reading, writing and programming the
          key for the Replay Protection Memory Block partition in eMMC.
 
 config CMD_MMC_SWRITE
        bool "mmc swrite"
-       depends on CMD_MMC && MMC_WRITE
+       depends on MMC_WRITE
        select IMAGE_SPARSE
        help
          Enable support for the "mmc swrite" command to write Android sparse
          images to eMMC.
 
        select IMAGE_SPARSE
        help
          Enable support for the "mmc swrite" command to write Android sparse
          images to eMMC.
 
+endif
+
 config CMD_MTD
        bool "mtd"
        depends on MTD
 config CMD_MTD
        bool "mtd"
        depends on MTD
@@ -1599,15 +1669,6 @@ config CMD_BSP
          option provides a way to control this. The commands that are enabled
          vary depending on the board.
 
          option provides a way to control this. The commands that are enabled
          vary depending on the board.
 
-config CMD_BKOPS_ENABLE
-       bool "mmc bkops enable"
-       depends on CMD_MMC
-       default n
-       help
-         Enable command for setting manual background operations handshake
-         on a eMMC device. The feature is optionally available on eMMC devices
-         conforming to standard >= 4.41.
-
 config CMD_BLOCK_CACHE
        bool "blkcache - control and stats for block cache"
        depends on BLOCK_CACHE
 config CMD_BLOCK_CACHE
        bool "blkcache - control and stats for block cache"
        depends on BLOCK_CACHE
@@ -1673,6 +1734,12 @@ config CMD_DATE
          Enable the 'date' command for getting/setting the time/date in RTC
          devices.
 
          Enable the 'date' command for getting/setting the time/date in RTC
          devices.
 
+config CMD_RTC
+       bool "rtc"
+       depends on DM_RTC
+       help
+         Enable the 'rtc' command for low-level access to RTC devices.
+
 config CMD_TIME
        bool "time"
        help
 config CMD_TIME
        bool "time"
        help
@@ -2095,7 +2162,7 @@ config CMD_BEDBUG
        help
          The bedbug (emBEDded deBUGger) command provides debugging features
          for some PowerPC processors. For details please see the
        help
          The bedbug (emBEDded deBUGger) command provides debugging features
          for some PowerPC processors. For details please see the
-         docuemntation in doc/README.beddbug
+         documentation in doc/README.bedbug.
 
 config CMD_DIAG
        bool "diag - Board diagnostics"
 
 config CMD_DIAG
        bool "diag - Board diagnostics"
@@ -2172,6 +2239,14 @@ config CMD_UBI
          It is also strongly encouraged to also enable CONFIG_MTD to get full
          partition support.
 
          It is also strongly encouraged to also enable CONFIG_MTD to get full
          partition support.
 
+config CMD_UBI_RENAME
+       bool "Enable rename"
+       depends on CMD_UBI
+       default n
+       help
+         Enable a "ubi" command to rename ubi volume:
+          ubi rename <oldname> <newname>
+
 config CMD_UBIFS
        tristate "Enable UBIFS - Unsorted block images filesystem commands"
        depends on CMD_UBI
 config CMD_UBIFS
        tristate "Enable UBIFS - Unsorted block images filesystem commands"
        depends on CMD_UBI