summaryrefslogtreecommitdiff
path: root/board/esd/common
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 /board/esd/common
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 'board/esd/common')
-rw-r--r--board/esd/common/auto_update.c2
-rw-r--r--board/esd/common/cmd_loadpci.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/esd/common/auto_update.c b/board/esd/common/auto_update.c
index fc60545..4cc15fa 100644
--- a/board/esd/common/auto_update.c
+++ b/board/esd/common/auto_update.c
@@ -169,7 +169,7 @@ int au_do_update(int i, long sz)
k++;
}
- run_command(addr, 0);
+ builtin_run_command(addr, 0);
return 0;
}
diff --git a/board/esd/common/cmd_loadpci.c b/board/esd/common/cmd_loadpci.c
index 8f4ad84..c2bf279 100644
--- a/board/esd/common/cmd_loadpci.c
+++ b/board/esd/common/cmd_loadpci.c
@@ -110,7 +110,7 @@ int do_loadpci(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
* Call run_cmd
*/
printf("running command at addr 0x%s ...\n", addr);
- run_command((char*)la, 0);
+ builtin_run_command((char *)la, 0);
break;
default: