diff options
author | Tom Rini <trini@konsulko.com> | 2019-12-02 22:05:35 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-02 22:05:35 -0500 |
commit | a4ef0657e3075d0f951d78cc1398cb7e05af648a (patch) | |
tree | 9a4387de5845e6fd1331f0af32bfd82fac9eb039 /common/cli_readline.c | |
parent | 357040645f9f56b33909520483df9f840be7e181 (diff) | |
parent | cb3ef6810a27c8ddf5db8694bcef9337f27d12ce (diff) |
Merge branch '2019-12-02-master-imports'
- A large series of clean-ups to reduce common.h contents
Diffstat (limited to 'common/cli_readline.c')
-rw-r--r-- | common/cli_readline.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/common/cli_readline.c b/common/cli_readline.c index 99b631720e1..6ef7a3e5642 100644 --- a/common/cli_readline.c +++ b/common/cli_readline.c @@ -11,6 +11,7 @@ #include <common.h> #include <bootretry.h> #include <cli.h> +#include <time.h> #include <watchdog.h> DECLARE_GLOBAL_DATA_PTR; @@ -569,12 +570,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(); /* |