On Wed, Oct 12, 2011 at 17:33:56, Thomas Weber wrote: > When building for OMAP3 only I get the > following errors: > > In function `omap2420_init_early': > undefined reference to `omap2_set_globals_242x' > undefined reference to `omap2xxx_voltagedomains_init' > undefined reference to `omap242x_powerdomains_init' > undefined reference to `omap242x_clockdomains_init' > undefined reference to `omap2420_hwmod_init' > > In function `omap2430_init_early': > undefined reference to `omap2_set_globals_243x' > undefined reference to `omap2xxx_voltagedomains_init' > undefined reference to `omap243x_powerdomains_init' > undefined reference to `omap243x_clockdomains_init' > undefined reference to `omap2430_hwmod_init' > > In function `omap4430_init_early': > undefined reference to `omap2_set_globals_443x' > undefined reference to `omap44xx_voltagedomains_init' > undefined reference to `omap44xx_powerdomains_init' > undefined reference to `omap44xx_clockdomains_init' > undefined reference to `omap44xx_hwmod_init' > undefined reference to `omap4xxx_clk_init' > > With this patch the omapXXXX_init_early will be compiled only > when their SOC's are selected. > > Signed-off-by: Thomas Weber <weber@xxxxxxxxxxxxx> I was facing the same problem and this patch helped me get rid of it. Tested-by: Sekhar Nori <nsekhar@xxxxxx> Thanks, Sekhar -- 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