summaryrefslogtreecommitdiffstats
path: root/common/autoboot.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-05-18 14:08:23 +0200
committerTom Rini <trini@konsulko.com>2015-06-08 17:32:16 -0400
commitd126e016493dc84a87db4ce87db4c5a94ee29e9a (patch)
treef9eb404ba50886cccd39f18ea28a27464e4ff95b /common/autoboot.c
parent2d908fa084a5b5e10a3726e80b42d2ce5100d079 (diff)
downloadtalos-obmc-uboot-d126e016493dc84a87db4ce87db4c5a94ee29e9a.tar.gz
talos-obmc-uboot-d126e016493dc84a87db4ce87db4c5a94ee29e9a.zip
autoboot.c: Move config options to Kconfig
This patch moves the following config options to Kconfig: CONFIG_AUTOBOOT_KEYED CONFIG_AUTOBOOT_PROMPT CONFIG_AUTOBOOT_DELAY_STR CONFIG_AUTOBOOT_STOP_STR AUTOBOOT_KEYED_CTRLC Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> [trini: Drop ip04 and pm9263 configs/ additions, those boards previously set CONFIG_AUTOBOOT_PROMPT but never used it, re-run savedefconfig over all boards that did change. Make digsy_mtc_* string include seconds to match others and not warn. ] Signed-off-by: Tom Rini <trini@konsulko.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'common/autoboot.c')
-rw-r--r--common/autoboot.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/autoboot.c b/common/autoboot.c
index 7c92f3e54d..f72eb1860c 100644
--- a/common/autoboot.c
+++ b/common/autoboot.c
@@ -56,7 +56,11 @@ static int abortboot_keyed(int bootdelay)
#endif
# ifdef CONFIG_AUTOBOOT_PROMPT
- printf(CONFIG_AUTOBOOT_PROMPT);
+ /*
+ * CONFIG_AUTOBOOT_PROMPT includes the %d for all boards.
+ * To print the bootdelay value upon bootup.
+ */
+ printf(CONFIG_AUTOBOOT_PROMPT, bootdelay);
# endif
# ifdef CONFIG_AUTOBOOT_DELAY_STR
OpenPOWER on IntegriCloud