[U-Boot] [PATCH] [Timer]Remove calls to [get, reset]_timer outside arch/
Graeme Russ
graeme.russ at gmail.com
Tue May 24 07:13:26 CEST 2011
On Tue, May 24, 2011 at 7:02 AM, Graeme Russ <graeme.russ at gmail.com> wrote:
[snip]
>
> Well, we have no control over the argument in cfi driver (unless you plan
> to put #ifdef NIOS all over the place)
>
> Maybe we could round up the parameter inside get_timer() itself?
Wow, what was I on! - Oh, thats right, no coffee ;)
The parameter to get_timer() is not a timeout, it is a reference epoch
So I think adding reset_timer() to the NIOS get_timer() when the parameter
is zero is the only option
Regards,
Graeme
More information about the U-Boot
mailing list