summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mach-vf610.c
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2015-05-20 01:03:52 +0300
committerArnd Bergmann <arnd@arndb.de>2015-05-21 00:10:14 +0300
commit8064887e02fd684fa0576cbbcdbc29ceab125c4c (patch)
tree88f802d85811ff7e6c71832646de535e9bd5f954 /arch/arm/mach-imx/mach-vf610.c
parent9c77bc438f88366e2e42c229b4aff52d4693e5c9 (diff)
downloadlinux-8064887e02fd684fa0576cbbcdbc29ceab125c4c.tar.xz
ARM: vf610: enable Cortex-M4 configuration on Vybrid SoC
This patch allows to build the Kernel for Vybrid (VF6xx) SoC when ARMv7-M CPU is selected. The resulting image runs on the secondary Cortex-M4 core. This core has equally access to all peripherals as the main Cortex-A5 core. However, there is no resource control mechanism, hence when both cores are used simultaneously, orthogonal device tree's are required. The boot CPU is dependent on the SoC variant. The available boards use mostly variants where the Cortex-A5 is the primary and hence the boot CPU. Booting the secondary Cortex-M4 CPU needs SoC specific registers written. There is no in kernel support for this right now, a external userspace utility called "m4boot" can be used to boot the kernel: m4boot xipImage initramfs.cpio.lzo vf610m4-colibri.dtb Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-imx/mach-vf610.c')
-rw-r--r--arch/arm/mach-imx/mach-vf610.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mach-vf610.c b/arch/arm/mach-imx/mach-vf610.c
index 2e7c75b66fe0..b20f6c14eda5 100644
--- a/arch/arm/mach-imx/mach-vf610.c
+++ b/arch/arm/mach-imx/mach-vf610.c
@@ -17,6 +17,7 @@ static const char * const vf610_dt_compat[] __initconst = {
"fsl,vf510",
"fsl,vf600",
"fsl,vf610",
+ "fsl,vf610m4",
NULL,
};