diff options
author | Peng Fan <peng.fan@nxp.com> | 2022-07-26 16:41:03 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-07-26 11:29:01 +0200 |
commit | a8753afed74639dc88d69aea25db1a18810bf31c (patch) | |
tree | 12a7301fb62e71eeecfdf0a39b7870be6c2e109e /arch/arm/include/asm/arch-imx9/sys_proto.h | |
parent | 0256577a83bd4a47ef524ceaaa8cc9fb1cd114c3 (diff) |
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>
Diffstat (limited to 'arch/arm/include/asm/arch-imx9/sys_proto.h')
-rw-r--r-- | arch/arm/include/asm/arch-imx9/sys_proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-imx9/sys_proto.h b/arch/arm/include/asm/arch-imx9/sys_proto.h index 5ae7a04339..ba97f92f5a 100644 --- a/arch/arm/include/asm/arch-imx9/sys_proto.h +++ b/arch/arm/include/asm/arch-imx9/sys_proto.h @@ -9,4 +9,6 @@ #include <asm/mach-imx/sys_proto.h> void soc_power_init(void); +bool m33_is_rom_kicked(void); +int m33_prepare(void); #endif |