aboutsummaryrefslogtreecommitdiff
path: root/board/hymod/hymod.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/hymod/hymod.c')
-rw-r--r--board/hymod/hymod.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/hymod/hymod.c b/board/hymod/hymod.c
index 5fec914f5..0183f781d 100644
--- a/board/hymod/hymod.c
+++ b/board/hymod/hymod.c
@@ -8,6 +8,8 @@
*/
#include <common.h>
+#include <bootretry.h>
+#include <cli.h>
#include <mpc8260.h>
#include <mpc8260_irq.h>
#include <ioports.h>
@@ -413,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));