summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSRICHARAN R <r.sricharan@ti.com>2012-03-12 02:25:39 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-05-15 08:31:24 +0200
commitcdd50a8d07cc648e8e2ec7b3f551b24bf2c45915 (patch)
tree53692cdf7c052e84777f7fddbfcf15f7066301b7 /arch
parent8de17f4617816919c4b73a3a1a377d5507596293 (diff)
downloadu-boot-imx-cdd50a8d07cc648e8e2ec7b3f551b24bf2c45915.zip
u-boot-imx-cdd50a8d07cc648e8e2ec7b3f551b24bf2c45915.tar.gz
u-boot-imx-cdd50a8d07cc648e8e2ec7b3f551b24bf2c45915.tar.bz2
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/omap5/hwinit.c1
1 files changed, 1 insertions, 0 deletions
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;
}