On 6/19/07, Ralf Baechle <ralf@xxxxxxxxxxxxxx> wrote:
For practically every type of timer there are reasons why it is may be undesierable such as being configured in a way that makes it undesirable or unusable, unpredictable clock changes and more. So in practice only the platform specific code can drive the initialization of all timer devices and interrupts which reduces the generic code to sort of a library and driver collection.
Yeah that's true. If you look at time_init() arch hook after patch 5/5 is applied, you can see that it's now: void __init time_init(void) { plat_time_init(); plat_timer_setup(); } -- Franck