mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* MXS: fix SoC detecting
@ 2013-05-08 12:57 Juergen Beisert
  2013-05-08 21:25 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Juergen Beisert @ 2013-05-08 12:57 UTC (permalink / raw)
  To: barebox

The missing 'break' statement lets look an i.MX23 like an i.MX28.
    
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>

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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: MXS: fix SoC detecting
  2013-05-08 12:57 MXS: fix SoC detecting Juergen Beisert
@ 2013-05-08 21:25 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2013-05-08 21:25 UTC (permalink / raw)
  To: Juergen Beisert; +Cc: barebox

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@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@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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-08 21:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-08 12:57 MXS: fix SoC detecting Juergen Beisert
2013-05-08 21:25 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox