ARM: i.MX6ul: Add SoC specific lowlevel_init function
On i.MX6ul(l) (Cortex A7) We have to set the SMP bit before
enabling the caches, otherwise they won't work. Add a SoC specific
lowlevel_init function to be called by the i.MX6ul(l) boards.

Since this is a quirk of the Cortex A7 core we put the functionality
into a separate function to be reused by other Cortex A7 cores.

Change existing i.MX6ul(l) boards to use the new initialisation
function. It seems this is only needed when booting from USB,
in other boot modes the ROM will already have done the initialisation.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 857f60c commit fbcdca885d2f3597dafce640820ec2675a9f25b1
@Sascha Hauer Sascha Hauer authored on 27 Sep 2017
Showing 6 changed files
View
arch/arm/boards/phytec-som-imx6/lowlevel.c
View
arch/arm/boards/technexion-pico-hobbit/lowlevel.c
View
arch/arm/cpu/lowlevel.S
View
arch/arm/include/asm/barebox-arm-head.h
View
arch/arm/mach-imx/cpu_init.c
View
arch/arm/mach-imx/include/mach/generic.h