mx25: add CPU revision 1.2
authorEric Benard <eric@eukrea.com>
Sun, 23 Sep 2012 02:03:05 +0000 (02:03 +0000)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:10 +0000 (11:54 -0700)
tested on a MCIMX257CJM4A which now reports :
CPU:   Freescale i.MX25 rev1.2 at 399 MHz

Signed-off-by: Eric BĂ©nard <eric@eukrea.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
arch/arm/cpu/arm926ejs/mx25/generic.c
arch/arm/include/asm/arch-mx25/imx-regs.h

index 90e584ac585e3f9820e9df062c07424cb3ae3bb0..4f1aad04e6a8830912e2122133eb4ea7d42cefea 100644 (file)
@@ -140,6 +140,9 @@ u32 get_cpu_rev(void)
        case 0x01:
                system_rev |= CHIP_REV_1_1;
                break;
+       case 0x02:
+               system_rev |= CHIP_REV_1_2;
+               break;
        default:
                system_rev |= 0x8000;
                break;
index 672f9d74b85d1b196fa3953a99962c82c0e95f29..e78029604b71d962babcef4575f8e63f38134a98 100644 (file)
@@ -357,5 +357,6 @@ struct aips_regs {
 
 #define CHIP_REV_1_0           0x10
 #define CHIP_REV_1_1           0x11
+#define CHIP_REV_1_2           0x12
 
 #endif                         /* _IMX_REGS_H */