]> git.baikalelectronics.ru Git - uboot.git/commit
imx: Enable ACTLR.SMP in SPL for i.MX6/7
authorSven Schwermer <sven@svenschwermer.de>
Sun, 2 Jan 2022 19:36:56 +0000 (20:36 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Feb 2022 12:38:39 +0000 (13:38 +0100)
commitbb07865df3470b31d49ada3c92b0b1e4f2417a05
treedb2350c8b85e897fcbf0c442d25114fd917ddc99
parent523f0800ff4e1a73ee9a293fa61865be023bff1e
imx: Enable ACTLR.SMP in SPL for i.MX6/7

Similar to what has been done before with 2535e66d 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@svenschwermer.de>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
arch/arm/include/asm/mach-imx/sys_proto.h
arch/arm/mach-imx/cache.c
arch/arm/mach-imx/mx6/soc.c
arch/arm/mach-imx/mx7/soc.c
arch/arm/mach-imx/mx7ulp/soc.c