On Wed, 7 Mar 2012, Turquette, Mike wrote:
Assuming that some day OMAP code can be refactored to allow for lazy
(or at least initcall-based) registration of clocks then perhaps your
suggestion can take root. Which leads me to this question: are there
any other platforms out there that require the level of expose to
struct clk present in this patchset? OMAP does, for now, but if that
changes then I need to know if others require this as well.
I can't see the problem, really. Other than existing code doing stuff
before the memory allocator is up and running.
We allocate interrupt data structures in the early boot process today
and I don't see a reason why you want clocks, which have not been
configured by the boot loader, accesible before that point.
Thanks,
tglx