MLK-16049 imx8qm/qxp: Add support for reserving DDR memory for M4
authorYe Li <ye.li@nxp.com>
Fri, 8 Mar 2019 04:06:04 +0000 (20:06 -0800)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 08:48:14 +0000 (01:48 -0700)
commit6b2f0383012c4b20526265f523e274b82d116979
treec9bf23ba093c6aa758b75fcfe031de9f367cfa9a
parente4a3fcc6fd357502d61687659b9cd7d2808b3fd4
MLK-16049 imx8qm/qxp: Add support for reserving DDR memory for M4

We assign the DDR memory from 0x88000000 to 0x8FFFFFFF to M4 on QM and QXP.
The M4 can allocate this memory by two ways, in SCD or u-boot.

In this patch, u-boot addes the memory reserve node to DTB to pass the info to kernel,
no matter the M4 memory is reserved in SCD or u-boot. So kernel won't access M4 reserved memory.

Signed-off-by: Ye Li <ye.li@nxp.com>
arch/arm/mach-imx/imx8/cpu.c