ARM: imx: ddr: Add missing PHY reset
[oweals/u-boot.git] / common / cli_readline.c
index 99b631720e17b02fdc41f524d7a733b19bb72750..1f1e28c6d85787983adb683379e3b4acbdb047c0 100644 (file)
@@ -11,6 +11,8 @@
 #include <common.h>
 #include <bootretry.h>
 #include <cli.h>
+#include <command.h>
+#include <time.h>
 #include <watchdog.h>
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -569,12 +571,6 @@ int cli_readline_into_buffer(const char *const prompt, char *buffer,
                        return -2;      /* timed out */
                WATCHDOG_RESET();       /* Trigger watchdog, if needed */
 
-#ifdef CONFIG_SHOW_ACTIVITY
-               while (!tstc()) {
-                       show_activity(0);
-                       WATCHDOG_RESET();
-               }
-#endif
                c = getc();
 
                /*