Skip to contentSkip to conversation

MXS: fix SoC detecting

PATCH Applied Juergen Beisert 2 participants 2 messages May 8, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

The missing 'break' statement lets look an i.MX23 like an i.MX28.

arch/arm/mach-mxs/imx.c +1 -0
index cdf9275..fcb26f7 100644
@@ -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) {
Signature · 7 lines
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
maintainer Applied
#1 lore raw
Quoted 3 lines · Juergen Beisert

The missing 'break' statement lets look an i.MX23 like an i.MX28.

Applied, thanks

Sascha

Quoted 23 lines
arch/arm/mach-mxs/imx.c +1 -0
index cdf9275..fcb26f7 100644
@@ -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) {
Signature · 8 lines
-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox