projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5195890
)
MX53: Handle silicon revision 2.1 case
author
Fabio Estevam
<festevam@gmail.com>
Tue, 26 Apr 2011 10:50:15 +0000
(10:50 +0000)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Mon, 23 May 2011 06:36:46 +0000
(08:36 +0200)
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/cpu/armv7/mx5/soc.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/mx5/soc.c
b/arch/arm/cpu/armv7/mx5/soc.c
index 6f4e8db74d0ffa589e40274230b2fe93c465aa8e..40b8b5640b3ee87b9abf3e18d246f7d7222eed15 100644
(file)
--- a/
arch/arm/cpu/armv7/mx5/soc.c
+++ b/
arch/arm/cpu/armv7/mx5/soc.c
@@
-65,14
+65,10
@@
u32 get_cpu_rev(void)
break;
}
#else
- switch (reg) {
- case 0x20:
- system_rev |= CHIP_REV_2_0;
- break;
- default:
+ if (reg < 0x20)
system_rev |= CHIP_REV_1_0;
- break;
- }
+ else
+ system_rev |= reg;
#endif
return system_rev;
}