Commit efdb3062 authored by Jacky Bai's avatar Jacky Bai

plat: imx8mn: Add domain assign for console uarts

Assign the Corresponding console uart to A core
& M domain to make sure the console is still
active when the opposite domain is in LPM mode.
Signed-off-by: default avatarJacky Bai <ping.bai@nxp.com>
parent c24502fd
......@@ -241,6 +241,11 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
bl33_image_ep_info.args.arg2 = 0x2000000;
#endif
bl31_tzc380_setup();
/* Assign M7 to domain 1 */
mmio_write_32(IMX_RDC_BASE + 0x204, 0x1);
mmio_write_32(IMX_RDC_BASE + 0x518, 0xfc);
mmio_write_32(IMX_RDC_BASE + 0x5A4, 0xf3);
}
void bl31_plat_arch_setup(void)
......
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