From 9ce2aa171039f1097e2d293235e733cce94cbabb Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 14 Nov 2019 12:57:10 -0700 Subject: Drop CONFIG_SHOW_ACTIVITY This feature is not enabled by any board. Drop it. Signed-off-by: Simon Glass --- common/cli_readline.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'common/cli_readline.c') diff --git a/common/cli_readline.c b/common/cli_readline.c index 99b631720e1..ea510ed6395 100644 --- a/common/cli_readline.c +++ b/common/cli_readline.c @@ -569,12 +569,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(); /* -- cgit v1.2.3 From 1045315df0f1bed617f0ee01379a10f543cec501 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 14 Nov 2019 12:57:30 -0700 Subject: common: Move get_ticks() function out of common.h This function belongs in time.h so move it over and add a comment. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- common/cli_readline.c | 1 + 1 file changed, 1 insertion(+) (limited to 'common/cli_readline.c') diff --git a/common/cli_readline.c b/common/cli_readline.c index ea510ed6395..6ef7a3e5642 100644 --- a/common/cli_readline.c +++ b/common/cli_readline.c @@ -11,6 +11,7 @@ #include #include #include +#include #include DECLARE_GLOBAL_DATA_PTR; -- cgit v1.2.3