[PATCH 01/10] OMAP2+: Kconfig: disallow builds for boards that don't use the currently-selected SoC

Paul Walmsley paul at pwsan.com
Mon Oct 4 01:45:28 EDT 2010


On Mon, 4 Oct 2010, Varadarajan, Charulatha wrote:

>  
> 
> > -----Original Message-----
> > From: linux-omap-owner at vger.kernel.org 
> > [mailto:linux-omap-owner at vger.kernel.org] On Behalf Of Paul Walmsley
> > Sent: Saturday, October 02, 2010 3:05 AM
> > To: linux-omap at vger.kernel.org; linux-arm-kernel at lists.infradead.org
> > Cc: Tony Lindgren
> > Subject: [PATCH 01/10] OMAP2+: Kconfig: disallow builds for 
> > boards that don't use the currently-selected SoC

...

> > +++ b/arch/arm/mach-omap2/board-generic.c
> > @@ -48,10 +48,22 @@ static void __init omap_generic_init(void)
> >  
> >  static void __init omap_generic_map_io(void)
> >  {
> > -	omap2_set_globals_242x(); /* should be 242x, 243x, or 343x */
> > -	omap242x_map_common_io();
> > +	if (cpu_is_omap242x()) {
> > +		omap2_set_globals_242x();
> > +		omap242x_map_common_io();
> > +	} else if (cpu_is_omap242x()) {
> 
> Is this intended for 242x() or 243x()?
> 
> > +		omap2_set_globals_243x();
> > +		omap243x_map_common_io();

That's for 243x().  Thanks, updated that in the branch that's posted on 
git.pwsan.com.


- Paul



More information about the linux-arm-kernel mailing list