summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/technexion-pico-hobbit/lowlevel.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-09-27 09:51:22 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-10-17 08:39:36 +0200
commitfbcdca885d2f3597dafce640820ec2675a9f25b1 (patch)
tree9b9c0a4d37e49298ed5bf770810573ba9baae834 /arch/arm/boards/technexion-pico-hobbit/lowlevel.c
parent857f60c1c6b588588508e52c4270007fe74fa6ec (diff)
downloadbarebox-fbcdca885d2f3597dafce640820ec2675a9f25b1.tar.gz
barebox-fbcdca885d2f3597dafce640820ec2675a9f25b1.tar.xz
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>
Diffstat (limited to 'arch/arm/boards/technexion-pico-hobbit/lowlevel.c')
-rw-r--r--arch/arm/boards/technexion-pico-hobbit/lowlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/technexion-pico-hobbit/lowlevel.c b/arch/arm/boards/technexion-pico-hobbit/lowlevel.c
index aad55127bf..f351e67dd7 100644
--- a/arch/arm/boards/technexion-pico-hobbit/lowlevel.c
+++ b/arch/arm/boards/technexion-pico-hobbit/lowlevel.c
@@ -37,7 +37,7 @@ static void __noreturn start_imx6_pico_hobbit_common(uint32_t size,
{
void *fdt;
- arm_cpu_lowlevel_init();
+ imx6ul_cpu_lowlevel_init();
arm_setup_stack(0x00910000 - 8);