[PATCH] ARM: OMAP2: use early init hook

Tony Lindgren tony at atomide.com
Tue Jan 25 14:29:22 EST 2011


* Tony Lindgren <tony at atomide.com> [110124 18:20]:
> * Russell King - ARM Linux <linux at arm.linux.org.uk> [110124 13:51]:
> > On Mon, Jan 24, 2011 at 12:26:29PM -0800, Tony Lindgren wrote:
> > > * Tony Lindgren <tony at atomide.com> [110124 12:16]:
> > > > 
> > > > So far tested on zoom3 only, but the following gets it booting
> > > > on top of your patch.
> > > 
> > > Looks like there are some other patches needed too.. At least
> > > omap4 still fails with these.
> > 
> > From what I remember, the problem I saw on OMAP4 was hwmod related as
> > it seemed to be using ioremap() - which with its initialization moved
> > before memory allocators were up and running causes an oops.
> 
> To me it seems _find_mpu_rt_base should be moved to omap_hwmod_late_init
> as we don't want to have a static mapping for everything. AFAIK the
> oh->_mpu_rt_va should not be needed early.
> 
> Any comments on that Paul? See also the two patches I'll post as a reply
> to this thread make omap_hwmod_late_init a core_initcall.

Posted this patch also, now also omap4 boots.

Tony



More information about the linux-arm-kernel mailing list