diff options
author | Eric Benard <eric@eukrea.com> | 2012-09-23 02:03:05 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-15 11:54:10 -0700 |
commit | 8a57fdc6404fc9436ed68857963ba081c701ef37 (patch) | |
tree | 2858a3a9f06e0d3b18b38736641db1ac642aba7b /arch/arm | |
parent | 7dd6545da75d9194b4e59a183012c1117e6241cc (diff) | |
download | u-boot-imx-8a57fdc6404fc9436ed68857963ba081c701ef37.zip u-boot-imx-8a57fdc6404fc9436ed68857963ba081c701ef37.tar.gz u-boot-imx-8a57fdc6404fc9436ed68857963ba081c701ef37.tar.bz2 |
mx25: add CPU revision 1.2
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/cpu/arm926ejs/mx25/generic.c | 3 | ||||
-rw-r--r-- | 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 90e584a..4f1aad0 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 */ |