[U-Boot] [PATCH 2/4] Add bootstage progress report

Mike Frysinger vapier at gentoo.org
Sat May 14 13:42:56 CEST 2011


On Friday, May 13, 2011 16:52:01 Simon Glass wrote:
> --- a/common/bootstage.c
> +++ b/common/bootstage.c
> +static void print_time(unsigned long us_time)
> +{
> +	char str[12], *s;
> +	int grab = 3;
> +
> +	/* We don't seem to have %'d in U-Boot */

do add it ?  this isnt really "printing time", it's formatting a number with a 
thousands separator which means it probably should be in common code with a 
different name at least.

> +

no trailing newlines please
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110514/152ab85c/attachment.pgp 


More information about the U-Boot mailing list