diff options
author | Simon Glass <sjg@chromium.org> | 2012-02-14 19:59:19 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-03-06 21:09:18 +0100 |
commit | f47360a74ec05c078960bf6f8c10a7f426c7d11d (patch) | |
tree | da8f3b450fa39aa0ad3966da7c2e04f243a30da7 /board/esd | |
parent | 79714c1e26229985c2ed9dd5853b55732cb21f2c (diff) | |
download | u-boot-f47360a74ec05c078960bf6f8c10a7f426c7d11d.tar.gz u-boot-f47360a74ec05c078960bf6f8c10a7f426c7d11d.tar.xz u-boot-f47360a74ec05c078960bf6f8c10a7f426c7d11d.zip |
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')
-rw-r--r-- | board/esd/common/auto_update.c | 2 | ||||
-rw-r--r-- | board/esd/common/cmd_loadpci.c | 2 | ||||
-rw-r--r-- | board/esd/du440/du440.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/board/esd/common/auto_update.c b/board/esd/common/auto_update.c index fc60545d04..4cc15fa2b8 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 8f4ad84689..c2bf2792e9 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: diff --git a/board/esd/du440/du440.c b/board/esd/du440/du440.c index 426321e7bc..75fb20079e 100644 --- a/board/esd/du440/du440.c +++ b/board/esd/du440/du440.c @@ -831,7 +831,7 @@ int do_time(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) *d = '\0'; start = get_ticks(); - ret = run_command (cmd, 0); + ret = builtin_run_command(cmd, 0); end = get_ticks(); printf("ticks=%ld\n", (ulong)(end - start)); |