summaryrefslogtreecommitdiffstats
path: root/include/command.h
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2013-02-04 11:16:26 -0600
committerKim Phillips <kim.phillips@freescale.com>2013-02-04 11:16:26 -0600
commit9a32084ea0cf55d22384f083002ee9932e074f31 (patch)
tree726a2ee288654832876f3e81ff5f1d356e784e13 /include/command.h
parent8f171a56b58e2e89d0e5e995f074f774c2d64bc3 (diff)
parent2d795c9621de274cb0cb8cf4af5941293f89c3be (diff)
downloadblackbird-obmc-uboot-9a32084ea0cf55d22384f083002ee9932e074f31.tar.gz
blackbird-obmc-uboot-9a32084ea0cf55d22384f083002ee9932e074f31.zip
Merge branch 'master' of git://git.denx.de/u-boot
Diffstat (limited to 'include/command.h')
-rw-r--r--include/command.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/command.h b/include/command.h
index 476e7cffc2..3785eb987f 100644
--- a/include/command.h
+++ b/include/command.h
@@ -139,10 +139,12 @@ enum command_ret_t {
* @param repeatable This function sets this to 0 if the command is not
* repeatable. If the command is repeatable, the value
* is left unchanged.
+ * @param ticks If ticks is not null, this function set it to the
+ * number of ticks the command took to complete.
* @return 0 if the command succeeded, 1 if it failed
*/
int cmd_process(int flag, int argc, char * const argv[],
- int *repeatable);
+ int *repeatable, unsigned long *ticks);
#endif /* __ASSEMBLY__ */
OpenPOWER on IntegriCloud