summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-vf610/imx-regs.h
diff options
context:
space:
mode:
authorSanchayan Maity <maitysanchayan@gmail.com>2015-04-15 16:24:24 +0530
committerTom Rini <trini@konsulko.com>2015-04-23 14:56:08 -0400
commit1db503c4b982a06741142588756fdd788474034c (patch)
tree6799a30b73580e8369b93b71650fd1f8e0a4f942 /arch/arm/include/asm/arch-vf610/imx-regs.h
parent8b4f9afac0642cea73084401d07f791f2ac63104 (diff)
downloadtalos-obmc-uboot-1db503c4b982a06741142588756fdd788474034c.tar.gz
talos-obmc-uboot-1db503c4b982a06741142588756fdd788474034c.zip
ARM: vf610: Add SoC and CPU type detection
Vybrid product family consists of several rather similar SoC which can be determined by softare during boot time. This allows use of variable ${soc} for Linux device tree files. Detect VF5xx CPU's by reading the CPU count register. We can determine the second number of the CPU type (VF6x0) which indicates the presence of a L2 cache. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Diffstat (limited to 'arch/arm/include/asm/arch-vf610/imx-regs.h')
-rw-r--r--arch/arm/include/asm/arch-vf610/imx-regs.h12
1 files changed, 12 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 aa60031b78..a5908ca102 100644
--- a/arch/arm/include/asm/arch-vf610/imx-regs.h
+++ b/arch/arm/include/asm/arch-vf610/imx-regs.h
@@ -457,6 +457,18 @@ struct scsc_reg {
u32 sosc_ctr;
};
+/* 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__ */
OpenPOWER on IntegriCloud