]> git.sur5r.net Git - u-boot/blobdiff - board/hymod/input.c
Merge branch 'u-boot-ti/master' into 'u-boot-arm/master'
[u-boot] / board / hymod / input.c
index 2f857c06ae92683bd515fedaf60db2ac5f408d3a..a9035d340591042d4113b1af0b3019b53d3f8e9d 100644 (file)
@@ -16,9 +16,7 @@ hymod_get_serno (const char *prompt)
                int n, serno;
                char *p;
 
-#ifdef CONFIG_BOOT_RETRY_TIME
-               reset_cmd_timeout ();
-#endif
+               bootretry_reset_cmd_timeout();
 
                n = cli_readline(prompt);
 
@@ -44,9 +42,7 @@ hymod_get_ethaddr (void)
        for (;;) {
                int n;
 
-#ifdef CONFIG_BOOT_RETRY_TIME
-               reset_cmd_timeout ();
-#endif
+               bootretry_reset_cmd_timeout();
 
                n = cli_readline("Enter board ethernet address: ");