hello,
I'm working on imx8 products.
I try to merge some modifications from previous uboot version to latest lf2021.04. to enable CAAM.
when I try to power on CAAM in SPL. but failed and SPL hung up.
with fllowing code:
in func: <int arch_cpu_init(void)>
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_DUAL_BOOTLOADER)
sc_pm_set_resource_power_mode(-1, SC_R_CAAM_JR3, SC_PM_PW_MODE_ON);
sc_pm_set_resource_power_mode(-1, SC_R_CAAM_JR3_OUT, SC_PM_PW_MODE_ON);
#endif
please help to check how can I fix it ?
thanks a lot.
Can you provide more log about this error?