summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm1176/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/cpu/arm1176/cpu.c')
-rw-r--r--arch/arm/cpu/arm1176/cpu.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm1176/cpu.c b/arch/arm/cpu/arm1176/cpu.c
index c0fd114e16..532a90b546 100644
--- a/arch/arm/cpu/arm1176/cpu.c
+++ b/arch/arm/cpu/arm1176/cpu.c
@@ -65,3 +65,10 @@ static void cache_flush (void)
/* mem barrier to sync things */
asm ("mcr p15, 0, %0, c7, c10, 4": :"r" (0));
}
+
+int arch_cpu_init(void)
+{
+ icache_enable();
+
+ return 0;
+}