MLK-23963 imx: mx6/7: Move configure_tzc380 to each SOC arch init
The commit "TEE-520 core: imx: Set TZASC region 0 to non-sec"
added configure_tzc380 function in imx_sec_init to set region 0 to
non-sec, however imx_sec_init is called only on SOCs which has CAAM.
For SOCs use DCP, like 6SLL, 6ULL/6ULZ, 6SL, this function does not
execute, and cause the trustzone won't be configured.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit
ab351d816b582382baf82c72546d8b7b3618de29)
(cherry picked from commit
6ee1dbf350583cc5c7c8cfe3308a389c61ee38e9)