diff options
author | Thomas Betker <thomas.betker@freenet.de> | 2014-06-05 20:07:58 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-11 16:25:47 -0400 |
commit | 52715f89317ef24426a4613bd2980debfa4699b7 (patch) | |
tree | 1255bf6d81d52e5e03160a2f1dd313fae035a8aa /common/cmd_bedbug.c | |
parent | 1d43bfd2d54240c18ec6bfd68a57349cae839f13 (diff) | |
download | u-boot-imx-52715f89317ef24426a4613bd2980debfa4699b7.zip u-boot-imx-52715f89317ef24426a4613bd2980debfa4699b7.tar.gz u-boot-imx-52715f89317ef24426a4613bd2980debfa4699b7.tar.bz2 |
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 <thomas.betker@rohde-schwarz.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cmd_bedbug.c')
-rw-r--r-- | common/cmd_bedbug.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |