From: Mike Frysinger Date: Sat, 14 May 2011 07:42:56 -0400 Subject: [U-Boot] [PATCH 2/4] Add bootstage progress report In-Reply-To: <1305319923-9477-3-git-send-email-sjg@chromium.org> References: <1305319923-9477-1-git-send-email-sjg@chromium.org> <1305319923-9477-3-git-send-email-sjg@chromium.org> Message-ID: <201105140742.57288.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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