On Wednesday 22 October 2008, Anton Vorontsov wrote:
So have it live in the __init text section. If you're
building a kernel with support for several boards, you
know it's necessarily going to be larger than it would
be if only one board were supported. But you can shrink
kernel size by judicious use of __init sections..
If it's discarded early, after translating the data from
OF format into what the drivers need, there will be no
RAM footprint.
- Dave
--