MXS: fix SoC detecting

Juergen Beisert jbe at pengutronix.de
Wed May 8 08:57:07 EDT 2013


The missing 'break' statement lets look an i.MX23 like an i.MX28.
    
Signed-off-by: Juergen Beisert <jbe at 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/  |



More information about the barebox mailing list