Browse Source

OMAP5: hwinit: Add the missing break statement

The break statement is missing in init_omap_revision function, resulting
in a wrong revision identification. So fixing this.

Signed-off-by: R Sricharan <r.sricharan@ti.com>
SRICHARAN R 13 years ago
parent
commit
cdd50a8d07
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/arm/cpu/armv7/omap5/hwinit.c

+ 1 - 0
arch/arm/cpu/armv7/omap5/hwinit.c

@@ -155,6 +155,7 @@ void init_omap_revision(void)
 	switch (rev) {
 	case MIDR_CORTEX_A15_R0P0:
 		*omap5_revision = OMAP5430_ES1_0;
+		break;
 	default:
 		*omap5_revision = OMAP5430_SILICON_ID_INVALID;
 	}