[U-Boot] [RESEND PATCH 3/3] Use run_command_repeatable()

2014-06-05 Thread Thomas Betker
Replace run_command() by run_command_repeatable() in places which
depend on the return code to indicate repeatability.

Signed-off-by: Thomas Betker thomas.bet...@rohde-schwarz.com
---
 common/cli_simple.c | 2 +-
 common/cmd_bedbug.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/cli_simple.c b/common/cli_simple.c
index 413c2eb..222e292 100644
--- a/common/cli_simple.c
+++ b/common/cli_simple.c
@@ -295,7 +295,7 @@ void cli_simple_loop(void)
if (len == -1)
puts(INTERRUPT\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 bdcf712..57a8a3f 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 (INTERRUPT\n);
else
-   rc = run_command(lastcommand, flag);
+   rc = run_command_repeatable(lastcommand, flag);
 
if (rc = 0) {
/* invalid command or not repeatable, forget it */
-- 
1.9.3

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [RESEND PATCH 3/3] Use run_command_repeatable()

2014-06-05 Thread Simon Glass
On 5 June 2014 12:07, Thomas Betker thomas.bet...@freenet.de wrote:
 Replace run_command() by run_command_repeatable() in places which
 depend on the return code to indicate repeatability.

 Signed-off-by: Thomas Betker thomas.bet...@rohde-schwarz.com

Acked-by: Simon Glass s...@chromium.org
Tested-by: Simon Glass s...@chromium.org
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot