MXS: fix SoC detecting

Sascha Hauer s.hauer at pengutronix.de
Wed May 8 17:25:27 EDT 2013


On Wed, May 08, 2013 at 02:57:07PM +0200, Juergen Beisert wrote:
> The missing 'break' statement lets look an i.MX23 like an i.MX28.
>     
> Signed-off-by: Juergen Beisert <jbe at pengutronix.de>

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/mach-mxs/imx.c b/arch/arm/mach-mxs/imx.c
> index cdf9275..fcb26f7 100644
> --- a/arch/arm/mach-mxs/imx.c
> +++ b/arch/arm/mach-mxs/imx.c
> @@ -101,6 +101,7 @@ static void mxs_silicon_revision(void)
>  		case 0x3: revision = SILICON_REVISION_1_3; break;
>  		case 0x4: revision = SILICON_REVISION_1_4; break;
>  		}
> +		break;
>  	case HW_DIGCTL_CHIPID_MX28:
>  		product = "i.MX28";
>  		switch (rev) {
> 
> -- 
> Pengutronix e.K.                              | Juergen Beisert             |
> Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list