summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-mx6/sys_proto.h
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-06-11 15:49:22 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-04-29 14:41:00 +0800
commit893267c7434f53e0d17f101e9feae1974720a469 (patch)
tree6b5cd1449c1b728920b321dc01f24f16e41d07a1 /arch/arm/include/asm/arch-mx6/sys_proto.h
parentc020a931227fe05a2a43a34d5554fd31703b8cd9 (diff)
downloadu-boot-imx-893267c7434f53e0d17f101e9feae1974720a469.zip
u-boot-imx-893267c7434f53e0d17f101e9feae1974720a469.tar.gz
u-boot-imx-893267c7434f53e0d17f101e9feae1974720a469.tar.bz2
ENGR00315894-57 iMX6SX: Add M4 boot support at soc level
Implement the override function "arch_auxiliary_core_up" to boot Cortex-M4 by executing command "bootaux". The parameter "boot_private_data" points to fields where stores the stack address and PC address for M4 to run. Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit 98c15deb3083d5dac7900c58e95f2ac2f422a4d3) Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'arch/arm/include/asm/arch-mx6/sys_proto.h')
-rw-r--r--arch/arm/include/asm/arch-mx6/sys_proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx6/sys_proto.h b/arch/arm/include/asm/arch-mx6/sys_proto.h
index 10bab2b..b89faca 100644
--- a/arch/arm/include/asm/arch-mx6/sys_proto.h
+++ b/arch/arm/include/asm/arch-mx6/sys_proto.h
@@ -38,6 +38,10 @@ void prep_anatop_bypass(void);
void finish_anatop_bypass(void);
#endif
+#ifdef CONFIG_MX6SX
+int arch_auxiliary_core_up(u32 core_id, u32 boot_private_data);
+#endif
+
/*
* Initializes on-chip ethernet controllers.
* to override, implement board_eth_init()