imx: Enable ACTLR.SMP in SPL for i.MX6/7
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@svenschwermer.de> Reviewed-by:
Fabio Estevam <festevam@gmail.com>
Showing
- arch/arm/include/asm/mach-imx/sys_proto.h 5 additions, 0 deletionsarch/arm/include/asm/mach-imx/sys_proto.h
- arch/arm/mach-imx/cache.c 1 addition, 1 deletionarch/arm/mach-imx/cache.c
- arch/arm/mach-imx/mx6/soc.c 3 additions, 0 deletionsarch/arm/mach-imx/mx6/soc.c
- arch/arm/mach-imx/mx7/soc.c 3 additions, 0 deletionsarch/arm/mach-imx/mx7/soc.c
- arch/arm/mach-imx/mx7ulp/soc.c 2 additions, 0 deletionsarch/arm/mach-imx/mx7ulp/soc.c
Please register or sign in to comment