OMAP5: hwinit: Add the missing break statement
authorSRICHARAN R <r.sricharan@ti.com>
Mon, 12 Mar 2012 02:25:39 +0000 (02:25 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:24 +0000 (08:31 +0200)
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>
arch/arm/cpu/armv7/omap5/hwinit.c

index d024ab5e3298f993a741606a1a5a050882e268b9..68cf558f2d9cd7079bf3606f3d7e96f3d247cca5 100644 (file)
@@ -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;
        }