diff options
author | Richard Genoud <richard.genoud@gmail.com> | 2012-12-03 06:28:28 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-02-04 09:14:02 -0500 |
commit | 34765e88532dfe0f8210baba9f9482de470d2202 (patch) | |
tree | 0cfee1c2441fe9f491eaaa377cd481936fc9a004 /common/main.c | |
parent | b2f3e0ea3e469a759fd74832ce551e3384bc07c0 (diff) | |
download | u-boot-34765e88532dfe0f8210baba9f9482de470d2202.tar.gz |
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/main.c')
-rw-r--r-- | common/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/main.c b/common/main.c index 9e9268710d..e2d2e09bf9 100644 --- a/common/main.c +++ b/common/main.c @@ -1452,7 +1452,7 @@ static int builtin_run_command(const char *cmd, int flag) continue; } - if (cmd_process(flag, argc, argv, &repeatable)) + if (cmd_process(flag, argc, argv, &repeatable, NULL)) rc = -1; /* Did the user stop this? */ |