
5 Feb
2009
5 Feb
'09
5:37 p.m.
Peter Tyser wrote:
Hi Scott,
On Wed, 2009-02-04 at 22:54 +0100, Wolfgang Denk wrote:
Dear Scott,
In message 498A0917.8080404@freescale.com you wrote:
get_ticks() not a public interface. It should not be used in any common code.
Then what is it doing in include/common.h?
Please use get_timer().
But as was pointed out, that depends on interrupts, and thus does not work until very late in the boot process.
I see.
But get_ticks() is an internal interface that may, or may not be preset. There are architectures where it does not exist.
Since get_ticks() and get_timer() are not available, is the patch (hokey as it is) acceptable?
Yes, I'll apply it.
-Scott