]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - common/autoboot.c
autoboot.c: Move config options to Kconfig
[karo-tx-uboot.git] / common / autoboot.c
index 7c92f3e54d1331e02efdef7870c02574e7218fc8..f72eb1860c1e9dcae4b36bde9353e26c116b2bfd 100644 (file)
@@ -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