Kconfig: Move CONFIG_BOOTDELAY under autoboot options
authorSimon Glass <sjg@chromium.org>
Fri, 11 Sep 2020 02:21:17 +0000 (20:21 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 9 Oct 2020 15:59:51 +0000 (11:59 -0400)
This option relates to autoboot, so move it there.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/Kconfig
common/Kconfig.boot

index 46f2dbf..17fbadc 100644 (file)
@@ -1,21 +1,5 @@
 source "common/Kconfig.boot"
 
-config BOOTDELAY
-       int "delay in seconds before automatically booting"
-       default 2
-       depends on AUTOBOOT
-       help
-         Delay before automatically running bootcmd;
-         set to 0 to autoboot with no delay, but you can stop it by key input.
-         set to -1 to disable autoboot.
-         set to -2 to autoboot with no delay and not check for abort
-
-         If this value is >= 0 then it is also used for the default delay
-         before starting the default entry in bootmenu. If it is < 0 then
-         a default value of 10s is used.
-
-         See doc/README.autoboot for details.
-
 config USE_BOOTARGS
        bool "Enable boot arguments"
        help
index bb069e2..058e62a 100644 (file)
@@ -699,6 +699,22 @@ config AUTOBOOT
        help
          This enables the autoboot.  See doc/README.autoboot for detail.
 
+config BOOTDELAY
+       int "delay in seconds before automatically booting"
+       default 2
+       depends on AUTOBOOT
+       help
+         Delay before automatically running bootcmd;
+         set to 0 to autoboot with no delay, but you can stop it by key input.
+         set to -1 to disable autoboot.
+         set to -2 to autoboot with no delay and not check for abort
+
+         If this value is >= 0 then it is also used for the default delay
+         before starting the default entry in bootmenu. If it is < 0 then
+         a default value of 10s is used.
+
+         See doc/README.autoboot for details.
+
 config AUTOBOOT_KEYED
        bool "Stop autobooting via specific input key / string"
        default n