Boot Linux FIT image from SPL

Fabio Estevam festevam at gmail.com
Fri Dec 31 18:39:00 CET 2021


Hi Sven,

On Fri, Dec 31, 2021 at 11:38 AM Sven Schwermer <sven at 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


More information about the U-Boot mailing list