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>
Thu, 29 Apr 2021 07:56:19 +0000 (00:56 -0700)
commit50e421d39a5c6913838794996fc98d01da42de3f
tree190c165b2cb3adc4c0fae7e46daa48020e56265c
parentdb8e45403fdc7aa5679a07d2f3dafa1391f96b4b
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)
(cherry picked from commit e4a3fcc6fd357502d61687659b9cd7d2808b3fd4)
(cherry picked from commit 13eafa71a6cad662af16e7997ec75b785753bb66)
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