summaryrefslogtreecommitdiff
path: root/arch/arc/lib/cpu.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-04-03 09:14:44 -0400
committerTom Rini <trini@konsulko.com>2015-04-03 09:14:44 -0400
commitd68df028099235c5316eec1ed5f586f3744a8707 (patch)
treed84182b69c8a1d8e6b3e1256d3a5323b9634ed35 /arch/arc/lib/cpu.c
parent692e5c4e7eb267f3d8f3a8c9d2348eff6f5f21e2 (diff)
parentd5717e894497124fd44289a37f818ee301640c70 (diff)
Merge git://git.denx.de/u-boot-arc
Diffstat (limited to 'arch/arc/lib/cpu.c')
-rw-r--r--arch/arc/lib/cpu.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arc/lib/cpu.c b/arch/arc/lib/cpu.c
index 50634b860f..3c930bcbeb 100644
--- a/arch/arc/lib/cpu.c
+++ b/arch/arc/lib/cpu.c
@@ -12,19 +12,6 @@ DECLARE_GLOBAL_DATA_PTR;
int arch_cpu_init(void)
{
-#ifdef CONFIG_SYS_ICACHE_OFF
- icache_disable();
-#else
- icache_enable();
- invalidate_icache_all();
-#endif
-
- flush_dcache_all();
-#ifdef CONFIG_SYS_DCACHE_OFF
- dcache_disable();
-#else
- dcache_enable();
-#endif
timer_init();
/* In simulation (ISS) "CHIPID" and "ARCNUM" are all "ff" */