configs: ls1088a: Correct ENV_ADDR value
[oweals/u-boot.git] / cmd / Kconfig
index 5f2562bbeade423f0a097402504be3bb5dcd98c4..f9be1988f655c22f14bc2ffccdc7eec54a256ea9 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
@@ -242,6 +256,20 @@ config CMD_REGINFO
        help
          Register dump
 
        help
          Register dump
 
+config CMD_TLV_EEPROM
+       bool "tlv_eeprom"
+       depends on I2C_EEPROM
+       help
+         Display and program the system EEPROM data block in ONIE Tlvinfo
+         format. TLV stands for Type-Length-Value.
+
+config SPL_CMD_TLV_EEPROM
+       bool "tlv_eeprom for SPL"
+       depends on SPL_I2C_EEPROM
+       select SPL_DRIVERS_MISC_SUPPORT
+       help
+         Read system EEPROM data block in ONIE Tlvinfo format from SPL.
+
 endmenu
 
 menu "Boot commands"
 endmenu
 
 menu "Boot commands"
@@ -259,6 +287,13 @@ config CMD_BOOTM
        help
          Boot an application image from the memory.
 
        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
 config CMD_BOOTZ
        bool "bootz"
        help
@@ -357,17 +392,28 @@ config CMD_BOOTMENU
        help
          Add an ANSI terminal boot menu command.
 
        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
          files should be merged in one dtb further, which needs to be passed to
          the kernel, as part of a boot process.
 
        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_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
 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.
 
@@ -671,7 +717,7 @@ 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 MX_CYCLIC
+config CMD_MX_CYCLIC
        bool "Enable cyclic md/mw commands"
        depends on CMD_MEMORY
        help
        bool "Enable cyclic md/mw commands"
        depends on CMD_MEMORY
        help
@@ -704,13 +750,23 @@ config SYS_ALT_MEMTEST
        help
          Use a more complete alternative memory test.
 
        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
        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"
 
 config CMD_SHA1SUM
        bool "sha1sum"
@@ -744,6 +800,13 @@ 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
@@ -849,12 +912,7 @@ config CMD_FASTBOOT
          Android devices. Fastboot requires either the network stack
          enabled or support for acting as a USB device.
 
          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.
-
-config CMD_FDC
-       bool "fdcboot - Boot from floppy device"
-       help
-         The 'fdtboot' command allows booting an image from a floppy disk.
+         See doc/android/fastboot.rst for more information.
 
 config CMD_FLASH
        bool "flinfo, erase, protect"
 
 config CMD_FLASH
        bool "flinfo, erase, protect"
@@ -1032,21 +1090,34 @@ config CMD_MMC
        help
          MMC memory mapped support.
 
        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
@@ -1579,15 +1650,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
@@ -1666,6 +1728,13 @@ config CMD_GETTIME
          milliseconds. See also the 'bootstage' command which provides more
          flexibility for boot timing.
 
          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"
 # TODO: rename to CMD_SLEEP
 config CMD_MISC
        bool "sleep"
@@ -2068,7 +2137,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"
@@ -2145,6 +2214,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