From bb597c0eeb7ee2f6e983577d993c76a30dd3c2b4 Mon Sep 17 00:00:00 2001 From: Heiko Schocher Date: Tue, 7 Jun 2016 08:31:14 +0200 Subject: common: bootdelay: move CONFIG_BOOTDELAY into a Kconfig option move CONFIG_BOOTDELAY into a Kconfig option. Used for this purpose the moveconfig.py tool in tools. Signed-off-by: Heiko Schocher Reviewed-by: Tom Rini Acked-by: Viresh Kumar Acked-by: Igor Grinberg --- common/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'common/Kconfig') diff --git a/common/Kconfig b/common/Kconfig index 067545d8a3..4d17b101a1 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -97,6 +97,15 @@ config BOOTSTAGE_STASH_SIZE endmenu +config BOOTDELAY + int "delay in seconds before automatically booting" + default 0 + help + Delay before automatically running bootcmd; + set to -1 to disable autoboot. + set to -2 to autoboot with no delay and not check for abort + (even when CONFIG_ZERO_BOOTDELAY_CHECK is defined). + config CONSOLE_RECORD bool "Console recording" help -- cgit v1.2.1