[PATCH RESEND v6 2/4] TI816X: Update common OMAP machine specific sources

Kevin Hilman khilman at ti.com
Mon Feb 14 18:27:35 EST 2011


Hemant Pedanekar <hemantp at ti.com> writes:

[...]

> @@ -402,7 +422,7 @@ void __init omap2_init_common_devices(struct omap_sdrc_params *sdrc_cs0,
>  
>  	omap_hwmod_late_init();
>  
> -	if (cpu_is_omap24xx() || cpu_is_omap34xx()) {
> +	if (omap3_has_sdrc()) {
>  		omap2_sdrc_init(sdrc_cs0, sdrc_cs1);
>  		_omap2_init_reprogram_sdrc();
>  	}

At first glance, this one doesn't look quite right.  Will 
omap3_has_sdrc()  be true on 24xx?   Please confirm.

Kevin





More information about the linux-arm-kernel mailing list