commit | aa1cb689d589f60b4a94cbf4759ab3e79dbada22 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <festevam@gmail.com> | Tue Apr 26 10:50:15 2011 +0000 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Mon May 23 08:36:46 2011 +0200 |
tree | 2f54b4acb671b24530885dca42b94dd91ac013a3 | |
parent | 519589044073f75d5995473a435195582d74690d [diff] [blame] |
MX53: Handle silicon revision 2.1 case Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
diff --git a/arch/arm/cpu/armv7/mx5/soc.c b/arch/arm/cpu/armv7/mx5/soc.c index 6f4e8db..40b8b56 100644 --- a/arch/arm/cpu/armv7/mx5/soc.c +++ b/arch/arm/cpu/armv7/mx5/soc.c
@@ -65,14 +65,10 @@ 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; }