On Wednesday 22 October 2008, Anton Vorontsov wrote:
That's not a problem. Why would you want to remove it?
Right. Such board description data should be made available
early in boot. As a rule: before arch_initcall() finishes,
so that subsys_initcall() code can use the associated GPIOs.
(It's fairly well acknowledged that init dependency handling
has a lot of problems. Until that's fixed ... for GPIOs, the
general advice is to make sure everything is available by
subsys_initcall time, so the subsystems which rely on GPIOs
to initialize -- power switches, resets, etc -- can initialize.
That can require i2c adapter drivers to use subsys_initcall,
for example.)
See above. If you're doing it right, there's no problem.
That is, scan the OF tables early. Just like PNP tables
get scanned early, for example.
- Dave
--