From: Thomas Betker Date: Thu, 5 Jun 2014 18:07:58 +0000 (+0200) Subject: Use run_command_repeatable() X-Git-Tag: v2014.07-rc4~91 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=52715f89317ef24426a4613bd2980debfa4699b7;p=u-boot Use run_command_repeatable() Replace run_command() by run_command_repeatable() in places which depend on the return code to indicate repeatability. Signed-off-by: Thomas Betker Acked-by: Simon Glass Tested-by: Simon Glass --- diff --git a/common/cli_simple.c b/common/cli_simple.c index 49d5833928..353ceeb734 100644 --- a/common/cli_simple.c +++ b/common/cli_simple.c @@ -295,7 +295,7 @@ void cli_simple_loop(void) if (len == -1) puts("\n"); else - rc = run_command(lastcommand, flag); + rc = run_command_repeatable(lastcommand, flag); if (rc <= 0) { /* invalid command or not repeatable, forget it */ diff --git a/common/cmd_bedbug.c b/common/cmd_bedbug.c index bdcf712d11..57a8a3f2fe 100644 --- a/common/cmd_bedbug.c +++ b/common/cmd_bedbug.c @@ -238,7 +238,7 @@ void bedbug_main_loop (unsigned long addr, struct pt_regs *regs) if (len == -1) printf ("\n"); else - rc = run_command(lastcommand, flag); + rc = run_command_repeatable(lastcommand, flag); if (rc <= 0) { /* invalid command or not repeatable, forget it */