diff options
author | Fabio Estevam <festevam@gmail.com> | 2011-04-26 10:50:15 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-05-23 08:36:46 +0200 |
commit | aa1cb689d589f60b4a94cbf4759ab3e79dbada22 (patch) | |
tree | 2f54b4acb671b24530885dca42b94dd91ac013a3 /arch/arm/cpu/armv7 | |
parent | 519589044073f75d5995473a435195582d74690d (diff) |
MX53: Handle silicon revision 2.1 case
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'arch/arm/cpu/armv7')
-rw-r--r-- | arch/arm/cpu/armv7/mx5/soc.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/arm/cpu/armv7/mx5/soc.c b/arch/arm/cpu/armv7/mx5/soc.c index 6f4e8db74d..40b8b5640b 100644 --- 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; } |