[PATCH 06/23] imx: imx8ulp: Adjust handshake to sync TRDC and XRDC completion

sbabic
2023-03-29T20:22:41Z

> To fit the DBD_EN fused part, we re-design the TRDC and XRDC assignment.
> M33 will be the TRDC owner and needs to configure TRDC. A35 is the
> XRDC owner, ATF will configure XRDC.
> The handshake between U-boot and M33 image is used to sync TRDC and
> XRDC configuration completion. Once the handshake is done, A35 and M33
> can access the allowed resources in others domain.
> The handshake is needed when M33 is booted or DBD_EN fused, because both
> cases will enable the TRDC. If handshake is timeout, the boot will hang.
> We use SIM GPR0 to pass the info from SPL to u-boot, because before the
> handshake, u-boot can't access SEC SIM and FSB.
> Signed-off-by: Ye Li <ye.li@nxp.com>
> Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Applied to u-boot-imx, -next, thanks !

Best regards,
Stefano Babic

--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================