Skip to contentSkip to conversation

mx25: add CPU revision 1.2

PATCH Superseded Eric Bénard 1 participant 2 messages Sep 23, 2012

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 mx25: add CPU revision 1.2

tested on a MCIMX257CJM4A which now reports :
CPU: Freescale i.MX25 rev1.2 at 399 MHz

---
v2 : rebased against 2012.10-rc1, added Otavio's ack

 arch/arm/cpu/arm926ejs/mx25/generic.c     |    3 +++
 arch/arm/include/asm/arch-mx25/imx-regs.h |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)
arch/arm/cpu/arm926ejs/mx25/generic.c +3 -0
index a5c15ce..3b7f327 100644
@@ -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;
arch/arm/include/asm/arch-mx25/imx-regs.h +1 -0
index 672f9d7..e780296 100644
@@ -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 */
Signature · 1 line
1.7.7.6
#1 lore raw

PATCH 1/2 mx25: add CPU revision 1.2

Hi,

Le Sun, 23 Sep 2012 14:02:17 +0200,
Eric B?nard <[email protected]> a ?crit :

Quoted 8 lines

tested on a MCIMX257CJM4A which now reports :
CPU: Freescale i.MX25 rev1.2 at 399 MHz

---
v2 : rebased against 2012.10-rc1, added Otavio's ack

sorry for the noise, this one was missing the v2 in the subject and I git Ctrl-C to late :-(

Eric