summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/cpu_init.c
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/mach-imx/cpu_init.c
parent67666f90ebc1de78d3f1b69be9b4eb870461e44d (diff)
downloadbarebox-52722071060d429234e8818e8adbac7e9ea0385c.tar.gz
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/mach-imx/cpu_init.c')
-rw-r--r--arch/arm/mach-imx/cpu_init.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/cpu_init.c b/arch/arm/mach-imx/cpu_init.c
index 68eacf7..8b10e63 100644
--- a/arch/arm/mach-imx/cpu_init.c
+++ b/arch/arm/mach-imx/cpu_init.c
@@ -15,6 +15,13 @@
#include <asm/barebox-arm-head.h>
#include <asm/errata.h>
+void imx5_cpu_lowlevel_init(void)
+{
+ arm_cpu_lowlevel_init();
+
+ enable_arm_errata_709718_war();
+}
+
void imx6_cpu_lowlevel_init(void)
{
arm_cpu_lowlevel_init();