MA-11693-1 [Android]Support m4 image flash for imx7ulp and im8mq
authorLuo Ji <ji.luo@nxp.com>
Wed, 4 Apr 2018 03:04:06 +0000 (11:04 +0800)
committerLuo Ji <ji.luo@nxp.com>
Mon, 9 Apr 2018 10:11:48 +0000 (18:11 +0800)
commit504a1e84654a8b4b7f6cc672417fcbfa8e2b18c1
treee3a70c3ddd0d8cb063bf27bfc360653894e11727
parent7163f0ca1c757fd28532bf1ac3daccc3255e4e0d
MA-11693-1 [Android]Support m4 image flash for imx7ulp and im8mq

Support m4 image flash by fastboot: 'fastboot flash m4_os <path-to-image>'.

For 7ulp, m4 image will be excuted on POR and it doesn't depand on A
core, so the m4 image will be flashed to nor flash using 'sf' command.
For imx8m, m4 image will be loaded and excuted by A core. The m4 image
will be flashed to physical 'm4_os' partition and can be excuted by
'bootmcu' command.

Change-Id: I43bf0c9a484c5633cfe32dde3d738e33afdc775b
Signed-off-by: Luo Ji <ji.luo@nxp.com>
arch/arm/imx-common/Kconfig
drivers/usb/gadget/f_fastboot.c
include/fsl_fastboot.h