[U-Boot] [PATCH v1 (WIP) 08/16] [Timer]Create new userland timer API
Graeme Russ
graeme.russ at gmail.com
Wed Jun 29 06:36:26 CEST 2011
Hi Simon,
On Wed, Jun 29, 2011 at 2:31 PM, Simon Glass <sjg at chromium.org> wrote:
> Hi Graeme,
>
> What a mammoth effort and what a fantastic clean up.
>
> I'm a bit unsure of this patch which seems to have two prototypes for
> the since functions:
>
[snip]
>> +u32 time_now_ms(void);
>> +u32 time_since_ms(u32 from, u32 to);
>> +u32 time_max_since_ms(u32 from, u32 to);
>
> Here they have two parameters
>
[snip]
>> +
>> +u32 time_since_ms(u32 from)
>
> and here only one (which is what I expect).
>
> Can you please explain what I am missing?
The fact I haven't tried to build it yet ;)
I'll add that to the list of fixes for v2 - Thanks
Regards,
Graeme
More information about the U-Boot
mailing list