summaryrefslogtreecommitdiff
path: root/cpu/arm1136/mx35/generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/arm1136/mx35/generic.c')
-rw-r--r--cpu/arm1136/mx35/generic.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpu/arm1136/mx35/generic.c b/cpu/arm1136/mx35/generic.c
index 31bcbec..fbe9084 100644
--- a/cpu/arm1136/mx35/generic.c
+++ b/cpu/arm1136/mx35/generic.c
@@ -372,3 +372,12 @@ int cpu_eth_init(bd_t *bis)
#endif
return rc;
}
+
+#if defined(CONFIG_ARCH_CPU_INIT)
+int arch_cpu_init(void)
+{
+ icache_enable();
+ dcache_enable();
+ return 0;
+}
+#endif