MX53: Handle silicon revision 2.1 case

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
This commit is contained in:
Fabio Estevam 2011-04-26 10:50:15 +00:00 committed by Albert ARIBAUD
parent 5195890440
commit aa1cb689d5
1 changed files with 3 additions and 7 deletions

View File

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