Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Convert cmd_usage() calls in common to use a return value | Simon Glass | 2012-03-06 | -2/+2 |
| | | | | | | | | | Change all files in common/ to use CMD_RET_USAGE instead of calling cmd_usage() directly. I'm not completely sure about this patch since the code since impact is small (100 byte or so on ARM) and it might need splitting into smaller patches. But for now here it is. Signed-off-by: Simon Glass <sjg@chromium.org> | |||
* | cmd_time: add time command | Che-liang Chiou | 2011-10-09 | -0/+90 |
The 'time' command runs and reports execution time of commands. Sample usage: -------------------- u-boot# time crc 0x1000 1000 CRC32 for 00001000 ... 00001fff ==> ae94dc4b time: 0.004 seconds, 4 ticks -------------------- Signed-off-by: Che-Liang Chiou <clchiou@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org> |