summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/ccxmx51
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/ccxmx51
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/ccxmx51')
-rw-r--r--arch/arm/boards/ccxmx51/lowlevel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boards/ccxmx51/lowlevel.c b/arch/arm/boards/ccxmx51/lowlevel.c
index 3e67b314a7..2b3dc42e87 100644
--- a/arch/arm/boards/ccxmx51/lowlevel.c
+++ b/arch/arm/boards/ccxmx51/lowlevel.c
@@ -1,11 +1,12 @@
#include <common.h>
#include <mach/esdctl.h>
+#include <mach/generic.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <mach/imx51-regs.h>
void __naked barebox_arm_reset_vector(void)
{
- arm_cpu_lowlevel_init();
+ imx5_cpu_lowlevel_init();
barebox_arm_entry(MX51_CSD0_BASE_ADDR, SZ_128M, NULL);
}