summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/efika-mx-smartbook
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2014-11-06 12:23:13 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-11-07 07:54:54 +0100
commit52722071060d429234e8818e8adbac7e9ea0385c (patch)
tree21b71fa7afcad6515d7d40815cfa6bdab64230d4 /arch/arm/boards/efika-mx-smartbook
parent67666f90ebc1de78d3f1b69be9b4eb870461e44d (diff)
downloadbarebox-52722071060d429234e8818e8adbac7e9ea0385c.tar.gz
barebox-52722071060d429234e8818e8adbac7e9ea0385c.tar.xz
ARM: imx5: add imx5_cpu_lowlevel_init and use in all boards
This is similar to what we do on imx6 and makes sure we apply the errata workarounds early. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/efika-mx-smartbook')
-rw-r--r--arch/arm/boards/efika-mx-smartbook/lowlevel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boards/efika-mx-smartbook/lowlevel.c b/arch/arm/boards/efika-mx-smartbook/lowlevel.c
index 0d32eee860..52454c7d50 100644
--- a/arch/arm/boards/efika-mx-smartbook/lowlevel.c
+++ b/arch/arm/boards/efika-mx-smartbook/lowlevel.c
@@ -1,5 +1,6 @@
#include <common.h>
#include <mach/esdctl.h>
+#include <mach/generic.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <mach/imx5.h>
@@ -10,7 +11,7 @@ ENTRY_FUNCTION(start_imx51_genesi_efikasb, r0, r1, r2)
{
void *fdt;
- arm_cpu_lowlevel_init();
+ imx5_cpu_lowlevel_init();
arm_setup_stack(0x20000000 - 16);
imx51_init_lowlevel(800);