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

Submitted by SRICHARAN R on Feb. 17, 2012, 12:05 p.m.

Details

Message ID 1329480333-18353-7-git-send-email-r.sricharan@ti.com
State Accepted
Commit cdd50a8d07cc648e8e2ec7b3f551b24bf2c45915
Delegated to: Tom Rini
Headers show

Commit Message

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 hide | download patch | download mbox

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;
 	}