Merge patch series "ufs: Add a PCI UFS controller support"
[pandora-u-boot.git] / cmd / Kconfig
index 0b4e76c..7418c20 100644 (file)
@@ -1,7 +1,5 @@
-menu "Command line interface"
-
-config CMDLINE
-       bool "Support U-Boot commands"
+menuconfig CMDLINE
+       bool "Command line interface"
        default y
        help
          Enable U-Boot's command-line functions. This provides a means
@@ -11,9 +9,10 @@ config CMDLINE
          Depending on the number of commands enabled, this can add
          substantially to the size of U-Boot.
 
+if CMDLINE
+
 config HUSH_PARSER
        bool "Use hush shell"
-       depends on CMDLINE
        help
          This option enables the "hush" shell (from Busybox) as command line
          interpreter, thus enabling powerful command line syntax like
@@ -25,7 +24,6 @@ config HUSH_PARSER
 
 config CMDLINE_EDITING
        bool "Enable command line editing"
-       depends on CMDLINE
        default y
        help
          Enable editing and History functions for interactive command line
@@ -40,15 +38,13 @@ config CMDLINE_PS_SUPPORT
 
 config AUTO_COMPLETE
        bool "Enable auto complete using TAB"
-       depends on CMDLINE
        default y
        help
          Enable auto completion of commands using TAB.
 
 config SYS_LONGHELP
        bool "Enable long help messages"
-       depends on CMDLINE
-       default y if CMDLINE
+       default y
        help
          Defined when you want long help messages included
          Do not set this option when short of memory.
@@ -75,24 +71,9 @@ config SYS_MAXARGS
        int "Maximum number arguments accepted by commands"
        default 16
 
-config SYS_CBSIZE
-       int "Console input buffer size"
-       default 2048 if ARCH_TEGRA || ARCH_VERSAL || ARCH_ZYNQ || ARCH_ZYNQMP || \
-               RCAR_GEN3 || TARGET_SOCFPGA_SOC64
-       default 512 if ARCH_MX5 || ARCH_MX6 || ARCH_MX7 || FSL_LSCH2 || \
-               FSL_LSCH3 || X86
-       default 256 if M68K || PPC
-       default 1024
-
-config SYS_PBSIZE
-       int "Buffer size for console output"
-       default 1024 if ARCH_SUNXI
-       default 1044
-
 config SYS_XTRACE
        bool "Command execution tracer"
-       depends on CMDLINE
-       default y if CMDLINE
+       default y
        help
          This option enables the possiblity to print all commands before
          executing them and after all variables are evaluated (similar
@@ -176,6 +157,13 @@ config CMD_FWU_METADATA
        help
          Command to read the metadata and dump it's contents
 
+config CMD_HISTORY
+       bool "history"
+       depends on CMDLINE_EDITING
+       help
+         Show the command-line history, i.e. a list of commands that are in
+         the history buffer.
+
 config CMD_LICENSE
        bool "license"
        select BUILD_BIN2C
@@ -239,7 +227,6 @@ config CMD_BOOTM_PRE_LOAD
        bool "enable pre-load on bootm"
        depends on CMD_BOOTM
        depends on IMAGE_PRE_LOAD
-       default n
        help
          Enable support of stage pre-load for the bootm command.
         This stage allow to check or modify the image provided
@@ -368,17 +355,6 @@ config BOOTM_VXWORKS
        help
          Support booting VxWorks images via the bootm command.
 
-config SYS_BOOTM_LEN
-       hex "Maximum size of a decompresed OS image"
-       depends on CMD_BOOTM || CMD_BOOTI || CMD_BOOTZ || \
-                  LEGACY_IMAGE_FORMAT || SPL_LEGACY_IMAGE_FORMAT
-       default 0x4000000 if PPC || ARM64
-       default 0x1000000 if X86 || ARCH_MX6 || ARCH_MX7
-       default 0x800000
-       help
-         This is the maximum size of the buffer that is used to decompress the OS
-         image in to, if passing a compressed image to bootm/booti/bootz.
-
 config CMD_BOOTEFI
        bool "bootefi"
        depends on EFI_LOADER
@@ -386,6 +362,15 @@ config CMD_BOOTEFI
        help
          Boot an EFI image from memory.
 
+config CMD_BOOTEFI_BOOTMGR
+       bool "UEFI Boot Manager command"
+       depends on BOOTEFI_BOOTMGR && CMD_BOOTEFI
+       default y
+       help
+         Select this option to enable the 'bootmgr' subcommand of 'bootefi'.
+         This subcommand will allow you to select the UEFI binary to be booted
+         via UEFI variables Boot####, BootOrder, and BootNext.
+
 config CMD_BOOTEFI_HELLO_COMPILE
        bool "Compile a standard EFI hello world binary for testing"
        depends on CMD_BOOTEFI && !CPU_V7M
@@ -975,7 +960,6 @@ config CMD_ADC
 
 config CMD_BCB
        bool "bcb"
-       depends on MMC
        depends on PARTITIONS
        help
          Read/modify/write the fields of Bootloader Control Block, usually
@@ -993,7 +977,7 @@ config CMD_BCB
 config CMD_BIND
        bool "bind/unbind - Bind or unbind a device to/from a driver"
        depends on DM
-       default y if USB_ETHER
+       imply CMD_DM
        help
          Bind or unbind a device to/from a driver from the command line.
          This is useful in situations where a device may be handled by several
@@ -1146,13 +1130,6 @@ config CMD_GPT
          Enable the 'gpt' command to ready and write GPT style partition
          tables.
 
-config RANDOM_UUID
-       bool "GPT Random UUID generation"
-       select LIB_UUID
-       help
-         Enable the generation of partitions with random UUIDs if none
-         are provided.
-
 config CMD_GPT_RENAME
        bool "GPT partition renaming commands"
        depends on CMD_GPT
@@ -1307,6 +1284,13 @@ config CMD_BKOPS_ENABLE
          on a eMMC device. The feature is optionally available on eMMC devices
          conforming to standard >= 4.41.
 
+config CMD_MMC_REG
+       bool "Enable support for reading card registers in the mmc command"
+       depends on CMD_MMC
+       help
+         Enable the commands for reading card registers. This is useful
+         mostly for debugging or extracting details from the card.
+
 config CMD_MMC_RPMB
        bool "Enable support for RPMB in the mmc command"
        depends on SUPPORT_EMMC_RPMB
@@ -1561,6 +1545,14 @@ config CMD_USB_SDP
          Enables the command "sdp" which is used to have U-Boot emulating the
          Serial Download Protocol (SDP) via USB.
 
+config CMD_RKMTD
+       bool "rkmtd"
+       select RKMTD
+       help
+         Enable the command "rkmtd" to create a virtual block device to transfer
+         Rockchip boot block data to and from NAND with block orientated tools
+         like "ums" and "rockusb".
+
 config CMD_ROCKUSB
        bool "rockusb"
        depends on USB_FUNCTION_ROCKUSB
@@ -1689,7 +1681,6 @@ if NET
 menuconfig CMD_NET
        bool "Network commands"
        default y
-       imply NETDEVICES
 
 if CMD_NET
 
@@ -1819,6 +1810,10 @@ config BOOTP_PXE_CLIENTARCH
        default 0x15 if ARM
        default 0x0 if X86
 
+config BOOTP_PXE_DHCP_OPTION
+       bool "Request & store 'pxe_configfile' from BOOTP/DHCP server"
+       depends on BOOTP_PXE
+
 config BOOTP_VCI_STRING
        string
        depends on CMD_BOOTP
@@ -2117,7 +2112,7 @@ config CMD_EFIDEBUG
 config CMD_EFICONFIG
        bool "eficonfig - provide menu-driven uefi variables maintenance interface"
        default y if !HAS_BOARD_SIZE_LIMIT
-       depends on CMD_BOOTEFI_BOOTMGR
+       depends on BOOTEFI_BOOTMGR
        select MENU
        help
          Enable the 'eficonfig' command which provides the menu-driven UEFI
@@ -2232,6 +2227,8 @@ config CMD_SYSBOOT
 config CMD_QFW
        bool "qfw"
        select QFW
+       default y if TARGET_QEMU_ARM_32BIT || TARGET_QEMU_ARM_64BIT || \
+               TARGET_QEMU_X86 || TARGET_QEMU_X86_64
        help
          This provides access to the QEMU firmware interface.  The main
          feature is to allow easy loading of files passed to qemu-system
@@ -2345,7 +2342,7 @@ config CMD_VIDCONSOLE
 config CMD_SELECT_FONT
        bool "select font size"
        depends on VIDEO
-       default n
+       default y if CONSOLE_TRUETYPE
        help
          Enabling this will provide 'font' command.
          Allows font selection at runtime.
@@ -2865,7 +2862,6 @@ config CMD_UBIFS
 config MMC_SPEED_MODE_SET
        bool "set speed mode using mmc command"
        depends on CMD_MMC
-       default n
        help
          Enable setting speed mode using mmc rescan and mmc dev commands.
          The speed mode is provided as the last argument in these commands
@@ -2879,4 +2875,5 @@ config CMD_MESON
        default y
        help
          Enable useful commands for the Meson Soc family developed by Amlogic Inc.
-endmenu
+
+endif