* [U-Boot] [PATCH 1/2] mx25: add CPU revision 1.2
@ 2012-09-23 12:02 Eric Bénard
2012-09-23 12:04 ` Eric Bénard
0 siblings, 1 reply; 2+ messages in thread
From: Eric Bénard @ 2012-09-23 12:02 UTC (permalink / raw)
To: u-boot
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>
---
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(-)
diff --git a/arch/arm/cpu/arm926ejs/mx25/generic.c b/arch/arm/cpu/arm926ejs/mx25/generic.c
index a5c15ce..3b7f327 100644
--- a/arch/arm/cpu/arm926ejs/mx25/generic.c
+++ b/arch/arm/cpu/arm926ejs/mx25/generic.c
@@ -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;
diff --git a/arch/arm/include/asm/arch-mx25/imx-regs.h b/arch/arm/include/asm/arch-mx25/imx-regs.h
index 672f9d7..e780296 100644
--- a/arch/arm/include/asm/arch-mx25/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx25/imx-regs.h
@@ -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 */
--
1.7.7.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH 1/2] mx25: add CPU revision 1.2
2012-09-23 12:02 [U-Boot] [PATCH 1/2] mx25: add CPU revision 1.2 Eric Bénard
@ 2012-09-23 12:04 ` Eric Bénard
0 siblings, 0 replies; 2+ messages in thread
From: Eric Bénard @ 2012-09-23 12:04 UTC (permalink / raw)
To: u-boot
Hi,
Le Sun, 23 Sep 2012 14:02:17 +0200,
Eric B?nard <eric@eukrea.com> a ?crit :
> 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>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-23 12:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-23 12:02 [U-Boot] [PATCH 1/2] mx25: add CPU revision 1.2 Eric Bénard
2012-09-23 12:04 ` Eric Bénard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox