MLK-14938-9 imx8: bootaux: Add i.MX8 M4 boot support
authorYe Li <ye.li@nxp.com>
Mon, 22 Aug 2016 02:44:58 +0000 (10:44 +0800)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:36:49 +0000 (02:36 +0800)
commit9bb7fd4dd56a40b43cb93dc16f249b6500fe8a02
tree824280326c5ba6d6ddb326eb6ebfb6d7929dafee
parent7da6345919ee59a26cf65b4bc29072eea2fc0909
MLK-14938-9 imx8: bootaux: Add i.MX8 M4 boot support

1. Adjust bootaux interface to adapt 64bits address and add core id.
2. Implement bootaux for the M4 boot on i.MX8QM and QXP. Users need to download
   M4 image to any DDR address first. Then use the
   "bootaux <M4 download DDR address> [M4 core id]" to boot CM4_0
   or CM4_1, the default core id is 0 for CM4_0.

   Since current M4 only supports running in TCM. The bootaux will copy
   the M4 image from DDR to its TCML.

3. Implment bootaux for HIFI on QXP
   command: bootaux 0x81000000 1

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
arch/arm/cpu/armv7/mx6/soc.c
arch/arm/cpu/armv7/mx7/soc.c
arch/arm/cpu/armv8/imx8/cpu.c
arch/arm/imx-common/Kconfig
arch/arm/imx-common/Makefile
arch/arm/imx-common/imx_bootaux.c
arch/arm/include/asm/imx-common/sys_proto.h