mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-11 13:08:31 -04:00
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>
This commit is contained in:
parent
7dd6545da7
commit
8a57fdc640
@ -140,6 +140,9 @@ u32 get_cpu_rev(void)
|
|||||||
case 0x01:
|
case 0x01:
|
||||||
system_rev |= CHIP_REV_1_1;
|
system_rev |= CHIP_REV_1_1;
|
||||||
break;
|
break;
|
||||||
|
case 0x02:
|
||||||
|
system_rev |= CHIP_REV_1_2;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
system_rev |= 0x8000;
|
system_rev |= 0x8000;
|
||||||
break;
|
break;
|
||||||
|
@ -357,5 +357,6 @@ struct aips_regs {
|
|||||||
|
|
||||||
#define CHIP_REV_1_0 0x10
|
#define CHIP_REV_1_0 0x10
|
||||||
#define CHIP_REV_1_1 0x11
|
#define CHIP_REV_1_1 0x11
|
||||||
|
#define CHIP_REV_1_2 0x12
|
||||||
|
|
||||||
#endif /* _IMX_REGS_H */
|
#endif /* _IMX_REGS_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user