summaryrefslogtreecommitdiff
path: root/common/cmd_bedbug.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-02-14 19:59:21 +0000
committerWolfgang Denk <wd@denx.de>2012-03-06 21:09:26 +0100
commit5307153236caaf2304e578c148e00a4b65cb8604 (patch)
tree6c15ac7b41232fd580a2a2ff75ee5bdee76a20e7 /common/cmd_bedbug.c
parent009dde1955583e306cf904c864068f3acb0db499 (diff)
downloadu-boot-imx-5307153236caaf2304e578c148e00a4b65cb8604.zip
u-boot-imx-5307153236caaf2304e578c148e00a4b65cb8604.tar.gz
u-boot-imx-5307153236caaf2304e578c148e00a4b65cb8604.tar.bz2
Stop using builtin_run_command()
Boards can select either the 'built-in' parser or the hush parser. We should not call builtin_run_command() if we are using the hush parser. We use run_command() instead, since it knows how to call the correct parser. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common/cmd_bedbug.c')
-rw-r--r--common/cmd_bedbug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_bedbug.c b/common/cmd_bedbug.c
index 0228ee8..5b08123 100644
--- a/common/cmd_bedbug.c
+++ b/common/cmd_bedbug.c
@@ -237,7 +237,7 @@ void bedbug_main_loop (unsigned long addr, struct pt_regs *regs)
if (len == -1)
printf ("<INTERRUPT>\n");
else
- rc = builtin_run_command(lastcommand, flag);
+ rc = run_command(lastcommand, flag);
if (rc <= 0) {
/* invalid command or not repeatable, forget it */