[PATCH] ARM: OMAP2: use early init hook

Tony Lindgren tony at atomide.com
Mon Jan 24 15:19:52 EST 2011

* Russell King - ARM Linux <linux at arm.linux.org.uk> [110123 09:12]:
> Move non-mapping and non-irq initialization code out of .map_io and
> .init_irq respectively into the new init_early hook.

Nice :)
> Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
> ---
> I think I've updated this patch correctly for the new platforms merged
> into mainline.
> Please ensure that new platforms merged after this patch also use the
> new structure, and note that the initializers should be listed in the
> following order:
> 	.fixup
> 	.reserve
> 	.map_io
> 	.init_early
> 	.init_irq
> 	.timer
> 	.init_machine
> This is the order in which they are called, so it helps to make sense
> when reading the board level code if they're arranged in called order.

OK, will do.

Will also add this also into omap-testing. Any other issues that
might remain should be easy to fix.

Acked-by: Tony Lindgren <tony at atomide.com>

More information about the linux-arm-kernel mailing list