summaryrefslogtreecommitdiff
path: root/plat/imx/imx8qxp/imx8qxp_bl31_setup.c
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2018-05-31 13:51:48 +0800
committerAbel Vesa <abel.vesa@nxp.com>2018-06-11 10:33:03 +0300
commit2e74e2ac96d7c1f145b3372898f36a91a20dd5d9 (patch)
tree9244d1f233958d225b2a46a92b8ca1de798c5824 /plat/imx/imx8qxp/imx8qxp_bl31_setup.c
parent6a64d1c6421cb862c28c1e948da071e3443f94bd (diff)
imx8qm: move M4 to OS part at last
With default configuration, M4 and A35 in one partition, M4 is loaded by ROM. "err = sc_rm_move_all(ipc_handle, secure_part, os_part, true, true);" M4 core will first be moved to non-secure OS part, then the resource used by M4 will be moved to non-secure OS part later. But before the resource be moved to non-secure OS part, M4 core is still running, so a non-secure M4 core access a secure resource will trigger error in M4 side. First mark M4 core as non-movable, after all other resoures moved to OS part, move M4 to OS part. No need to check whether M4 is created a new partition by SCFW, if a partition already created, the call to mark M4 as non-removable will fail, because it M4 is in its own partition. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'plat/imx/imx8qxp/imx8qxp_bl31_setup.c')
0 files changed, 0 insertions, 0 deletions