[U-Boot] [RESEND PATCH v3 1/4] Tegra2: Add microsecond timer function

Simon Glass sjg at chromium.org
Tue Aug 16 08:30:09 CEST 2011


Hi Graeme,

On Mon, Aug 15, 2011 at 6:16 PM, Graeme Russ <graeme.russ at gmail.com> wrote:
> Hi Simon
>
> On Tue, Aug 16, 2011 at 10:42 AM, Simon Glass <sjg at chromium.org> wrote:
>> These functions provide access to the high resolution microsecond timer
>> and tidy up a global variable in the code.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>> Changes in v3:
>> - Remove future time function
>
> Really?

Hmm, perhaps not. But at least it isn't called :-)   I will tidy this
up when I get a response from the ARM maintainer.

While you are on the line, what is the plan with a general microsecond
timer in U-Boot? Is this on the cards, or is it still considered 'code
bloat'?

I am contemplating another crack at the bootstage patch (microsecond
boot timing) and it would help to know the plan on that front.

Regards,
Simon

>
> [snip]
>
>> +
>> +/* returns what the time will likely be some microseconds into the future */
>> +unsigned long timer_get_future_us(u32 delay);
>> +
>
> Regards,
>
> Graeme
>


More information about the U-Boot mailing list