[U-Boot] [PATCH 5/5] arm: Show cache warnings in U-Boot proper only

Simon Glass sjg at chromium.org
Mon Jun 20 03:43:05 CEST 2016


Avoid bloating the SPL image size.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/arm/lib/cache.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/lib/cache.c b/arch/arm/lib/cache.c
index 642a952..d330b09 100644
--- a/arch/arm/lib/cache.c
+++ b/arch/arm/lib/cache.c
@@ -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;
-- 
2.8.0.rc3.226.g39d4020



More information about the U-Boot mailing list