Merge git://git.denx.de/u-boot-sh
[oweals/u-boot.git] / cmd / Kconfig
index 6e1efaaf85d76b600c51093819861a4189bae9f1..f9be1988f655c22f14bc2ffccdc7eec54a256ea9 100644 (file)
@@ -190,6 +190,20 @@ comment "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
@@ -386,9 +400,20 @@ config CMD_ADTIMG
          files should be merged in one dtb further, which needs to be passed to
          the kernel, as part of a boot process.
 
+config CMD_ABOOTIMG
+       bool "abootimg"
+       depends on ANDROID_BOOT_IMAGE
+       help
+         Android Boot Image manipulation commands. Allows one to extract
+         images contained in boot.img, like kernel, ramdisk, dtb, etc, and
+         obtain corresponding meta-information from boot.img.
+
+         See doc/android/boot-image.rst for details.
+
 config CMD_ELF
        bool "bootelf, bootvx"
        default y
+       select LIB_ELF
        help
          Boot an ELF/vxWorks image from the memory.
 
@@ -692,7 +717,7 @@ config CMD_MEMORY
            base - print or set address offset
            loop - initialize loop on address range
 
-config MX_CYCLIC
+config CMD_MX_CYCLIC
        bool "Enable cyclic md/mw commands"
        depends on CMD_MEMORY
        help
@@ -725,13 +750,23 @@ config SYS_ALT_MEMTEST
        help
          Use a more complete alternative memory test.
 
-endif
+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 CMD_MX_CYCLIC
-       bool "mdc, mwc"
+config SYS_MEMTEST_END
+       hex "default end address for mtest"
+       default 0x1000
        help
-         mdc - memory display cyclic
-         mwc - memory write cyclic
+         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
        bool "sha1sum"
@@ -765,6 +800,13 @@ config CMD_LZMADEC
          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
@@ -870,7 +912,7 @@ config CMD_FASTBOOT
          Android devices. Fastboot requires either the network stack
          enabled or support for acting as a USB device.
 
-         See doc/android/fastboot.txt for more information.
+         See doc/android/fastboot.rst for more information.
 
 config CMD_FLASH
        bool "flinfo, erase, protect"
@@ -1048,21 +1090,34 @@ config CMD_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"
-       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"
-       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.
 
+endif
+
 config CMD_MTD
        bool "mtd"
        depends on MTD
@@ -1595,15 +1650,6 @@ config CMD_BSP
          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
@@ -2091,7 +2137,7 @@ config CMD_BEDBUG
        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"
@@ -2168,6 +2214,14 @@ config CMD_UBI
          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