Commit 4dd8919a authored by Ji Luo's avatar Ji Luo

MA-15289-4 Integrate SCFW API lib to trusty

Open the power domain of MU4 and assign it to secure
world so trusty can call the SCFW API.

Test: Get SCFW and SECO-FW by trusty.

Change-Id: I6188f905426fd66072346089505fb1945e4362e3
Signed-off-by: default avatarJi Luo <ji.luo@nxp.com>
parent efdb3062
......@@ -450,6 +450,7 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
sc_pm_set_resource_power_mode(ipc_handle, SC_R_CAAM_JR2_OUT, SC_PM_PW_MODE_ON);
sc_pm_set_resource_power_mode(ipc_handle, SC_R_CAAM_JR3, SC_PM_PW_MODE_ON);
sc_pm_set_resource_power_mode(ipc_handle, SC_R_CAAM_JR3_OUT, SC_PM_PW_MODE_ON);
sc_pm_set_resource_power_mode(ipc_handle, SC_R_MU_4A, SC_PM_PW_MODE_ON);
#endif
bl33_image_ep_info.pc = PLAT_NS_IMAGE_OFFSET;
......
......@@ -25,6 +25,7 @@ sc_rsrc_t secure_rsrcs[] = {
SC_R_CAAM_JR2_OUT,
SC_R_CAAM_JR3,
SC_R_CAAM_JR3_OUT,
SC_R_MU_4A,
#endif
SC_R_IRQSTR_SCU2
};
......
......@@ -426,6 +426,7 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
sc_pm_set_resource_power_mode(ipc_handle, SC_R_CAAM_JR2_OUT, SC_PM_PW_MODE_ON);
sc_pm_set_resource_power_mode(ipc_handle, SC_R_CAAM_JR3, SC_PM_PW_MODE_ON);
sc_pm_set_resource_power_mode(ipc_handle, SC_R_CAAM_JR3_OUT, SC_PM_PW_MODE_ON);
sc_pm_set_resource_power_mode(ipc_handle, SC_R_MU_4A, SC_PM_PW_MODE_ON);
#endif
bl33_image_ep_info.pc = PLAT_NS_IMAGE_OFFSET;
......
......@@ -20,6 +20,7 @@ sc_rsrc_t secure_rsrcs[] = {
SC_R_CAAM_JR2_OUT,
SC_R_CAAM_JR3,
SC_R_CAAM_JR3_OUT,
SC_R_MU_4A,
#endif
SC_R_IRQSTR_SCU2
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment