Hi, On Fri, Oct 23, 2009 at 02:23:26PM -0500, Vikram Pandita wrote: > diff --git a/arch/arm/mach-omap2/board-zoom2-zoom3.c b/arch/arm/mach-omap2/board-zoom2-zoom3.c > index 4ad9b94..d806dbf 100644 > --- a/arch/arm/mach-omap2/board-zoom2-zoom3.c > +++ b/arch/arm/mach-omap2/board-zoom2-zoom3.c > @@ -281,7 +281,11 @@ static void __init omap_zoom2_map_io(void) > omap2_map_common_io(); > } > > +#ifdef CONFIG_MACH_OMAP_ZOOM3 > +MACHINE_START(OMAP_ZOOM3, "OMAP ZOOM3 board") > +#else > MACHINE_START(OMAP_ZOOM2, "OMAP Zoom2 board") > +#endif what happens if you want to build a kernel for both boards ? how about just adding a new MACHINE_START() declaration without ifdeferry ? Take a look at arch/arm/mach-omap2/board-n8x0.c for an example ;-) -- balbi -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html