Merge tag 'ti-v2020.07-rc3' of https://gitlab.denx.de/u-boot/custodians/u-boot-ti
[oweals/u-boot.git] / arch / arm / cpu / armv7 / kona-common / hwinit-common.c
index 8783893cf68389770b7c70cae05da6c3b0b3b728..cfc7c9fbc64bb6b4bcb6c0c4f8a92b88aa26645e 100644 (file)
@@ -4,9 +4,11 @@
  */
 
 #include <common.h>
+#include <cpu_func.h>
+#include <asm/cache.h>
 #include <linux/sizes.h>
 
-#ifndef CONFIG_SYS_DCACHE_OFF
+#if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
 void enable_caches(void)
 {
        /* Enable D-cache. I-cache is already enabled in start.S */