Re: [U-Boot] [PATCH 1/4] Add microsecond boot time measurement

2011-05-14 Thread Mike Frysinger
On Friday, May 13, 2011 16:52:00 Simon Glass wrote: > --- a/include/common.h > +++ b/include/common.h > @@ -177,6 +177,14 @@ typedef void (interrupt_handler_t)(void *); > #endif /* CONFIG_SERIAL_MULTI */ > > /* > + * Return the time since boot in microseconds, This is needed for > bootstage > +

Re: [U-Boot] [PATCH 1/4] Add microsecond boot time measurement

2011-05-14 Thread Mike Frysinger
On Friday, May 13, 2011 16:52:00 Simon Glass wrote: > --- /dev/null > +++ b/common/bootstage.c > +/* > + * Copyright (c) 2011 The Chromium OS Authors. i'm not sure this is valid unless "Chromium OS Authors" is a legal entity > +uint32_t bootstage_mark(enum bootstage_id id, const char *name) > +{

[U-Boot] [PATCH 1/4] Add microsecond boot time measurement

2011-05-13 Thread Simon Glass
This defines the basics of a new boot time measurement feature. This allows logging of very accurate time measurements as the boot proceeds, by using an available microsecond counter. Signed-off-by: Simon Glass --- README | 11 common/Makefile |1 + common/bootsta