summaryrefslogtreecommitdiff
path: root/common/cmd_bedbug.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-02-14 19:59:19 +0000
committerWolfgang Denk <wd@denx.de>2012-03-06 21:09:18 +0100
commitf47360a74ec05c078960bf6f8c10a7f426c7d11d (patch)
treeda8f3b450fa39aa0ad3966da7c2e04f243a30da7 /common/cmd_bedbug.c
parent79714c1e26229985c2ed9dd5853b55732cb21f2c (diff)
downloadu-boot-imx-f47360a74ec05c078960bf6f8c10a7f426c7d11d.zip
u-boot-imx-f47360a74ec05c078960bf6f8c10a7f426c7d11d.tar.gz
u-boot-imx-f47360a74ec05c078960bf6f8c10a7f426c7d11d.tar.bz2
Rename run_command() to builtin_run_command()
The current run_command() is only one of the parsing options - the other is hush. We should not call run_command() when the hush parser is being used. So we rename this function to better explain its purpose. 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 87b108f..0228ee8 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 = run_command (lastcommand, flag);
+ rc = builtin_run_command(lastcommand, flag);
if (rc <= 0) {
/* invalid command or not repeatable, forget it */