On 25/05/11 23:38, Wolfgang Denk wrote:
> Dear Graeme Russ,
> 
> In message <banlktimhtqynwgvwr6w8knosv4u_tzs...@mail.gmail.com> you wrote:
>>
>> And what about platforms that do not support interrupts? Are you
>> mandating that get_timer() MUST always be supported by a timer updated
>> by an ISR?
> 
> No, not at all. And I already answered this. For example on PPC, just
> reading the timebase would be perfectly sufficient, and simpler and
> more reliable than the current interrupt based approach.

I assume by 'timebase' you mean the 64-bit tick counter. If so, that is
_exactly_ what I am suggesting we do (and what does already happen on ARM).
The big change is, the prescaler is common code rather than haven dozens
(some of them broken) implementations

Regards,

Graeme
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to