On Mon, 4 Oct 2010, Varadarajan, Charulatha wrote:
>
>
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]] On Behalf Of Paul Walmsley
> > Sent: Saturday, October 02, 2010 3:05 AM
> > To: [email protected]; [email protected]
> > 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
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html