summaryrefslogtreecommitdiff
path: root/common/hush.c
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2012-12-03 06:28:28 +0000
committerTom Rini <trini@ti.com>2013-02-04 09:14:02 -0500
commit34765e88532dfe0f8210baba9f9482de470d2202 (patch)
tree0cfee1c2441fe9f491eaaa377cd481936fc9a004 /common/hush.c
parentb2f3e0ea3e469a759fd74832ce551e3384bc07c0 (diff)
downloadu-boot-imx-34765e88532dfe0f8210baba9f9482de470d2202.zip
u-boot-imx-34765e88532dfe0f8210baba9f9482de470d2202.tar.gz
u-boot-imx-34765e88532dfe0f8210baba9f9482de470d2202.tar.bz2
cmd_time: merge run_command_and_time_it with cmd_process
As far as every arch has a get_timer function, run_command_and_time_it code can now disappear. Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Acked-By: Che-Liang Chiou <clchiou@chromium.org> [trini: s/ulong/unsigned long/ in command.h portion] Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'common/hush.c')
-rw-r--r--common/hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hush.c b/common/hush.c
index eb6c879..cc81c9c 100644
--- a/common/hush.c
+++ b/common/hush.c
@@ -1665,7 +1665,7 @@ static int run_pipe_real(struct pipe *pi)
}
/* Process the command */
return cmd_process(flag, child->argc, child->argv,
- &flag_repeat);
+ &flag_repeat, NULL);
#endif
}
#ifndef __U_BOOT__