
31 Dec
2021
31 Dec
'21
6:39 p.m.
Hi Sven,
On Fri, Dec 31, 2021 at 11:38 AM Sven Schwermer sven@svenschwermer.de wrote:
I have one more question about this: Is it save to just enable D/I caches (enable_caches) in SPL for all of mach-imx or will this have unforeseen side effects? In that case, I can just make enable_ca7_smp non-static and call that for all of mach-imx in SPL. In either case, what would be the proper spot for this? I'm thinking somewhere in SPL's board_init_r or spl_init/spl_common_init?
To be on the safe side, I would only call enable_ca7_smp() for SPL.
What about calling it from arch_cpu_init() in arch/arm/mach-imx/mx6/soc.c?
Regards,
Fabio Estevam
Best regards, Sven