From: Simon Glass Date: Mon, 20 Jun 2016 01:43:05 +0000 (-0600) Subject: arm: Show cache warnings in U-Boot proper only X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bcc53bf095893fbdae531a9a7b5d4ef4a125a7fc;p=project%2Fbcm63xx%2Fu-boot.git arm: Show cache warnings in U-Boot proper only Avoid bloating the SPL image size. Signed-off-by: Simon Glass --- diff --git a/arch/arm/lib/cache.c b/arch/arm/lib/cache.c index 642a95242b..d330b09434 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;