Merge branch 'u-boot-sh/rmobile' into 'u-boot-arm/master'
[oweals/u-boot.git] / board / hymod / hymod.c
index ea49e26dd2f983b40178176e6335dbe228620b19..0183f781dec43dffe706f345de0d59ef846d0a07 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <common.h>
+#include <bootretry.h>
 #include <cli.h>
 #include <mpc8260.h>
 #include <mpc8260_irq.h>
@@ -414,13 +415,11 @@ last_stage_init (void)
        hymod_conf_t *cp = &gd->bd->bi_hymod_conf;
        int rc;
 
-#ifdef CONFIG_BOOT_RETRY_TIME
        /*
-        * we use the readline () function, but we also want
+        * we use the cli_readline() function, but we also want
         * command timeout enabled
         */
-       init_cmd_timeout ();
-#endif
+       bootretry_init_cmd_timeout();
 
        memset ((void *) cp, 0, sizeof (*cp));