Merge branch '2022-04-25-initial-implementation-of-stdboot'
[platform/kernel/u-boot.git] / cmd / Kconfig
index 9d0e803..2b575a2 100644 (file)
@@ -31,6 +31,13 @@ config CMDLINE_EDITING
          Enable editing and History functions for interactive command line
          input operations
 
+config CMDLINE_PS_SUPPORT
+       bool "Enable support for changing the command prompt string at run-time"
+       depends on HUSH_PARSER
+       help
+         Only static string in the prompt is supported so far.  The string is
+         obtained from environment variables PS1 and PS2.
+
 config AUTO_COMPLETE
        bool "Enable auto complete using TAB"
        depends on CMDLINE
@@ -194,6 +201,55 @@ config CMD_BOOTM
        help
          Boot an application image from the memory.
 
+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
+        to the bootm command.
+
+config CMD_BOOTDEV
+       bool "bootdev"
+       depends on BOOTSTD
+       default y if BOOTSTD_FULL
+       help
+         Support listing available bootdevs (boot devices) which can provide an
+         OS to boot, as well as showing information about a particular one.
+
+         This command is not necessary for bootstd to work.
+
+config CMD_BOOTFLOW
+       bool "bootflow"
+       depends on BOOTSTD
+       default y
+       help
+         Support scanning for bootflows available with the bootdevs. The
+         bootflows can optionally be booted.
+
+config CMD_BOOTFLOW_FULL
+       bool "bootflow - extract subcommands"
+       depends on BOOTSTD_FULL
+       default y if BOOTSTD_FULL
+       help
+         Add the ability to list the available bootflows, select one and obtain
+         information about it.
+
+         This command is not necessary for bootstd to work.
+
+config CMD_BOOTMETH
+       bool "bootmeth"
+       depends on BOOTSTD
+       default y if BOOTSTD_FULL
+       help
+         Support listing available bootmethds (methods used to boot an
+         Operating System), as well as selecting the order that the bootmeths
+         are used.
+
+         This command is not necessary for bootstd to work.
+
 config BOOTM_EFI
        bool "Support booting UEFI FIT images"
        depends on CMD_BOOTEFI && CMD_BOOTM && FIT
@@ -508,6 +564,9 @@ config CMD_NVEDIT_EFI
          If enabled, we are allowed to set/print UEFI variables using
          "env" command with "-e" option without knowing details.
 
+config CMD_NVEDIT_INDIRECT
+       bool "env indirect - Sets environment value from another"
+
 config CMD_NVEDIT_INFO
        bool "env info - print or evaluate environment information"
        help
@@ -976,6 +1035,13 @@ config CMD_GPIO
        help
          GPIO support.
 
+config CMD_GPIO_READ
+       bool "gpio read - save GPIO value to variable"
+       depends on CMD_GPIO
+       help
+         Enables the 'gpio read' command that saves the value
+         of a GPIO pin to a variable.
+
 config CMD_PWM
        bool "pwm"
        depends on DM_PWM
@@ -1219,6 +1285,7 @@ config CMD_OSD
 
 config CMD_PART
        bool "part"
+       depends on PARTITIONS
        select HAVE_BLOCK_DEVICE
        select PARTITION_UUIDS
        help
@@ -1638,6 +1705,15 @@ config CMD_NFS
        help
          Boot image via network using NFS protocol.
 
+config NFS_TIMEOUT
+       int "Timeout in milliseconds for NFS mounts"
+       depends on CMD_NFS
+       default 2000
+       help
+         Timeout in milliseconds used in NFS protocol.  If you encounter
+         "ERROR: Cannot umount" in nfs command, try longer timeout such as
+         10000.
+
 config CMD_MII
        bool "mii"
        imply CMD_MDIO
@@ -1649,6 +1725,10 @@ config CMD_MII
          to management parameters and services.
          The interface is referred to as the MII management interface.
 
+config MII_INIT
+       bool "Call mii_init() in the mii command"
+       depends on CMD_MII && (MPC8XX_FEC || FSLDMAFE || MCFFEC)
+
 config CMD_MDIO
        bool "mdio"
        depends on PHYLIB
@@ -1773,7 +1853,7 @@ config CMD_CONITRACE
 
 config CMD_CLS
        bool "Enable clear screen command 'cls'"
-       depends on CFB_CONSOLE || DM_VIDEO || LCD || VIDEO
+       depends on DM_VIDEO || LCD || VIDEO
        default y if LCD
        help
          Enable the 'cls' command which clears the screen contents