arm: Show cache warnings in U-Boot proper only
authorSimon Glass <sjg@chromium.org>
Mon, 20 Jun 2016 01:43:05 +0000 (19:43 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 14 Jul 2016 22:33:11 +0000 (18:33 -0400)
Avoid bloating the SPL image size.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/cache.c

index 642a952..d330b09 100644 (file)
@@ -61,8 +61,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;