Kconfig: Move CONFIG_BOOTDELAY under autoboot options

This option relates to autoboot, so move it there.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2020-09-10 20:21:17 -06:00 committed by Tom Rini
parent 98eed0d4f9
commit 95fd4f3330
2 changed files with 16 additions and 16 deletions

View 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

View 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