[PATCH v2] imx: Enable ACTLR.SMP in SPL for i.MX6/7
Fabio Estevam
festevam at gmail.com
Mon Jan 3 12:45:35 CET 2022
Hi Sven,
On Sun, Jan 2, 2022 at 4:38 PM Sven Schwermer <sven at svenschwermer.de> wrote:
>
> Similar to what has been done before with c5437e5b for u-boot proper, we
> enable the SMP bit for SPL as well. This is necessary when SDP booting
> straight into Linux, i.e. falcon boot. When SDP boot mode is active, the
> ROM code does not set this bit which makes the caches not work once
> activated in Linux.
>
> On an i.MX6ULL (528MHz), this reduces a minimal kernel's boot time into
> an initramfs shell from ~6.1s down to ~1.2s.
>
> Signed-off-by: Sven Schwermer <sven at svenschwermer.de>
> ---
>
> Changes in v2:
> - Apply fix for i.MX7(ULP) as well
> - Document quantitive improvement in boot time
Thanks for the updated version. It looks good to me:
Reviewed-by: Fabio Estevam <festevam at gmail.com>
More information about the U-Boot
mailing list