Re: [U-Boot] [PATCH V2] cmd_time: add time command

2011-10-06 Thread Mike Frysinger
On Thu, Oct 6, 2011 at 04:33, Che-Liang Chiou wrote: > +       /* > +        * TODO(clchiou): get_timer_masked() is only defined in certain ARM > +        * boards.  We could use the new timer API that Graeme is proposing > +        * so that this piece of code would be arch-independent. > +      

[U-Boot] [PATCH V2] cmd_time: add time command

2011-10-06 Thread Che-Liang Chiou
The 'time' command runs and reports execution time of commands. Sample usage: u-boot# time crc 0x1000 1000 CRC32 for 1000 ... 1fff ==> ae94dc4b time: 0.004 seconds, 4 ticks Signed-off-by: Che-Liang Chiou --- Changes Since V1 - Switch unsigned l