[PATCH v2 2/5] sunxi: move Cortex SMPEN setting into start.S

Fabio Estevam festevam at gmail.com
Thu Feb 3 02:21:19 CET 2022


Hi Samuel and Andre,

On Wed, Feb 2, 2022 at 10:06 PM Samuel Holland <samuel at sholland.org> wrote:

> >  ENTRY(cpu_init_cp15)
> > +
> > +#if CONFIG_IS_ENABLED(ARMV7_SET_CORTEX_SMPEN)
>
> There is no SPL-prefixed symbol, so you probably want plain old "#if defined"
> here instead. Otherwise, this code will always be omitted from SPL.

Yes, it would be nice to set the SMP bit for all CortexA7 devices in SPL too.

Sven has sent a patch doing it for the i.MX CortexA7 devices:
https://lists.denx.de/pipermail/u-boot/2022-January/470781.html


More information about the U-Boot mailing list