summaryrefslogtreecommitdiff
path: root/cpu/arm720t/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/arm720t/cpu.c')
-rw-r--r--cpu/arm720t/cpu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpu/arm720t/cpu.c b/cpu/arm720t/cpu.c
index 5637eb672f..0ad5481fd2 100644
--- a/cpu/arm720t/cpu.c
+++ b/cpu/arm720t/cpu.c
@@ -106,7 +106,9 @@ int cleanup_before_linux (void)
unsigned long i;
disable_interrupts ();
-
+#ifdef CONFIG_NETARM
+ return 0;
+#endif
/* turn off I-cache */
asm ("mrc p15, 0, %0, c1, c0, 0":"=r" (i));
i &= ~0x1000;