]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-uniphier/cache_uniphier.c
ARM: keystone2: Fix dev and arm speed detection
[u-boot] / arch / arm / mach-uniphier / cache_uniphier.c
index c1e9164489dc3c625a2ee79c086264a87be24914..bf85ad6fd9aa8b9fb1709e16fc97ac97ee26b9c0 100644 (file)
@@ -1,13 +1,11 @@
 /*
- * Copyright (C) 2012-2014 Panasonic Corporation
- * Copyright (C) 2015      Socionext Inc.
- *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2012-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
-#include <asm/io.h>
+#include <linux/io.h>
 #include <asm/armv7.h>
 #include <mach/ssc-regs.h>
 
@@ -122,7 +120,5 @@ void v7_outer_cache_disable(void)
 
 void enable_caches(void)
 {
-#ifndef CONFIG_SYS_DCACHE_OFF
        dcache_enable();
-#endif
 }