Patchwork [U-Boot,06/17] OMAP5: hwinit: Add the missing break statement

login
register
mail settings
Submitter SRICHARAN R
Date Feb. 17, 2012, 12:05 p.m.
Message ID <1329480333-18353-7-git-send-email-r.sricharan@ti.com>
Download mbox | patch
Permalink /patch/141803/
State Accepted
Commit cdd50a8d07cc648e8e2ec7b3f551b24bf2c45915
Delegated to: Tom Rini
Headers show

Comments

SRICHARAN R - Feb. 17, 2012, 12:05 p.m.
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 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/arch/arm/cpu/armv7/omap5/hwinit.c b/arch/arm/cpu/armv7/omap5/hwinit.c
index d024ab5..68cf558 100644
--- a/arch/arm/cpu/armv7/omap5/hwinit.c
+++ b/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;
 	}