]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/lib/cache.c
ARM: Move SYS_CACHELINE_SIZE over to Kconfig
[u-boot] / arch / arm / lib / cache.c
index 642a95242b364cc5016a4e2ac3e893f6b35d6187..4f72f8914cc7bc5e18220de629704fbe8176dced 100644 (file)
 #include <common.h>
 #include <malloc.h>
 
-#ifndef CONFIG_SYS_CACHELINE_SIZE
-#define CONFIG_SYS_CACHELINE_SIZE 32
-#endif
-
 /*
  * Flush range from all levels of d-cache/unified-cache.
  * Affects the range [start, start + size - 1].
@@ -61,8 +57,8 @@ int check_cache_range(unsigned long start, unsigned long stop)
                ok = 0;
 
        if (!ok) {
-               debug("CACHE: Misaligned operation at range [%08lx, %08lx]\n",
-                     start, stop);
+               warn_non_spl("CACHE: Misaligned operation at range [%08lx, %08lx]\n",
+                            start, stop);
        }
 
        return ok;