From b1200eb220e35d9f53adbb5feb1dc4d381d4f616 Mon Sep 17 00:00:00 2001 From: Ye Li Date: Thu, 10 Mar 2016 17:18:57 +0800 Subject: MLK-12531 mx6sxsabresd: Add CM4 fast boot up demo This is a demo that CM4 will boot up by u-boot without typing any command. It boots up at u-boot early init, try to minimize the time from power up to the CM4 running. Since CM4 runs on QSPI NOR XIP, we have to disable the QSPI driver in u-boot to avoid conflict. RDC for shared GPIO1 is added, but not enabled, because the kernel is not ready for shared GPIO1. Users can uncomment the CONFIG_IMX_RDC to enable it. Some legacy codes in mx6sxsabreauto are removed. We only need this work on mx6sxsabresd as a demo. Signed-off-by: Ye Li (cherry picked from commit f66842f79d4e33ace45762466eed23a86d367642) --- arch/arm/include/asm/imx-common/sys_proto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/arm/include/asm') diff --git a/arch/arm/include/asm/imx-common/sys_proto.h b/arch/arm/include/asm/imx-common/sys_proto.h index 660240a..0f06c90 100644 --- a/arch/arm/include/asm/imx-common/sys_proto.h +++ b/arch/arm/include/asm/imx-common/sys_proto.h @@ -75,4 +75,6 @@ void vadc_power_down(void); void pcie_power_up(void); void pcie_power_off(void); +int arch_auxiliary_core_up(u32 core_id, u32 boot_private_data); +int arch_auxiliary_core_check_up(u32 core_id); #endif -- cgit v1.1