summaryrefslogtreecommitdiff
path: root/common/Kconfig
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2016-06-07 08:31:14 +0200
committerTom Rini <trini@konsulko.com>2016-06-09 13:53:05 -0400
commitbb597c0eeb7ee2f6e983577d993c76a30dd3c2b4 (patch)
tree7f5c1ebb627cae3a7d7013eaeb68b1fa73e39d82 /common/Kconfig
parent3191d8408053674c1b9bb79a82e3973add48830c (diff)
downloadu-boot-imx-bb597c0eeb7ee2f6e983577d993c76a30dd3c2b4.zip
u-boot-imx-bb597c0eeb7ee2f6e983577d993c76a30dd3c2b4.tar.gz
u-boot-imx-bb597c0eeb7ee2f6e983577d993c76a30dd3c2b4.tar.bz2
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 <hs@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 067545d..4d17b10 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