diff options
author | Stefan Agner <stefan@agner.ch> | 2014-04-24 15:58:03 +0200 |
---|---|---|
committer | Stefan Agner <stefan@agner.ch> | 2014-04-24 16:32:57 +0200 |
commit | 1d75facc0daa8b2cc91363cf862b7bf10aeb321d (patch) | |
tree | 28d8cfc522f9bd61e0a5d6c17b3a80ff34295da1 /arch/arm/include/asm/arch-vf610 | |
parent | 795d73eed0f604919fcd51bbd518f4bead25f31d (diff) |
colibri_vf: add detection for Colibri VF50
Detect Colibri VF50 modules by read L2 cache configuration of the
running CPU. Colibri VF50 modules come without L2 cache. Configure
CPU clock accordingly.
Diffstat (limited to 'arch/arm/include/asm/arch-vf610')
-rw-r--r-- | arch/arm/include/asm/arch-vf610/imx-regs.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-vf610/imx-regs.h b/arch/arm/include/asm/arch-vf610/imx-regs.h index b35991de90..42943f3732 100644 --- a/arch/arm/include/asm/arch-vf610/imx-regs.h +++ b/arch/arm/include/asm/arch-vf610/imx-regs.h @@ -98,6 +98,8 @@ #define MSCM_IRSPRC_CP0_EN 1 #define MSCM_IRSPRC_NUM 112 +#define MSCM_CP0CFG1 (MSCM_BASE_ADDR + 0x000000014) + /* DDRMC */ #define DDRMC_PHY_DQ_TIMING 0x00002613 #define DDRMC_PHY_DQS_TIMING 0x00002615 @@ -406,6 +408,18 @@ struct mscm_ir { u16 rsvd3[848]; }; +/* MSCM */ +struct mscm { + u32 cpxtype; + u32 cpxnum; + u32 cpxmaster; + u32 cpxcount; + u32 cpxcfg0; + u32 cpxcfg1; + u32 cpxcfg2; + u32 cpxcfg3; +}; + #endif /* __ASSEMBLER__*/ #endif /* __ASM_ARCH_IMX_REGS_H__ */ |