imx: mx6: implement functions to boot auxiliary core
authorPeng Fan <peng.fan@nxp.com>
Thu, 28 Jan 2016 08:55:05 +0000 (16:55 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 21 Feb 2016 10:46:26 +0000 (11:46 +0100)
commit0623d375cfa9593260c0e6bfe404b38d3d5c7c7c
tree5c01f1fd328d90cde10ca606a192a4c1958deada
parent6f6058bfd8aea1ab867407b423a3cbb3a4d70718
imx: mx6: implement functions to boot auxiliary core

Implement arch_auxiliary_core_up and arch_auxiliary_core_check_up.

arch_auxiliary_core_check_up is used to check whether M4 is running
or not. arch_auxiliary_core_up is to boot M4 core, the m4 core will
use the pc and stack which is set in arch_auxiliary_core_up to set R15
and R13 register and boot.

Signed-off-by: Ye.Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/cpu/armv7/mx6/soc.c
arch/arm/include/asm/arch-mx6/imx-regs.h