MLK-14938-9 imx8: bootaux: Add i.MX8 M4 boot support
authorYe Li <ye.li@nxp.com>
Mon, 16 Apr 2018 06:45:40 +0000 (23:45 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 08:48:14 +0000 (01:48 -0700)
commite4a3fcc6fd357502d61687659b9cd7d2808b3fd4
treec01674e8cd3615f2ef0ce52910b89c93a9c0c5b5
parent388d2adeecbaae91306e1df4ee0461aefe22e589
MLK-14938-9 imx8: bootaux: Add i.MX8 M4 boot support

1. 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.

2. 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>
(cherry picked from commit 778606204b84ce6646fe58d752e2abda67600cf2)
arch/arm/include/asm/arch-imx8/sci/sci.h
arch/arm/include/asm/mach-imx/sys_proto.h
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/imx8/cpu.c
arch/arm/mach-imx/imx_bootaux.c
drivers/misc/imx8/scu_api.c