]> git.baikalelectronics.ru Git - uboot.git/commit
imx: imx9: Add M33 release prepare function
authorPeng Fan <peng.fan@nxp.com>
Tue, 26 Jul 2022 08:41:03 +0000 (16:41 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 26 Jul 2022 09:29:01 +0000 (11:29 +0200)
commit3e256021bd9c7d85fa05e715da1158391d80760e
tree12a7301fb62e71eeecfdf0a39b7870be6c2e109e
parent74aea4f5da2e09a6382017e950d005c70cc6bcdc
imx: imx9: Add M33 release prepare function

To support on-demand booting M33 image from A core. SPL needs
to follow M33 kick up sequence to release M33 firstly,
then set M33 CPUWAIT signal. ATF will clear CPUWAIT to kick
M33 to run.

The prepare function also works around the M33 TCM ECC issue by
clean the TCM. Also enable sentinel handshake and WDOG1 clock
for M33 stop and reset.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/arch-imx9/sys_proto.h
arch/arm/mach-imx/imx9/soc.c