summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2012-04-02 06:18:49 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-04-16 14:53:59 +0200
commitc8d9ceaf061c5ea5c17ee9e95dbff563e41904c0 (patch)
tree5ffa97e10aad5b5e929b5b64a06f0ff3fcf53ab2
parent219872c8fe890cd280cf54f27df86504bb17d277 (diff)
downloadu-boot-imx-c8d9ceaf061c5ea5c17ee9e95dbff563e41904c0.zip
u-boot-imx-c8d9ceaf061c5ea5c17ee9e95dbff563e41904c0.tar.gz
u-boot-imx-c8d9ceaf061c5ea5c17ee9e95dbff563e41904c0.tar.bz2
ARM: 926ejs: use debug() for misaligned addresses
Misaligned warnings are useful to debug faulty drivers. A misaligned warning is printed also when the driver is correct - use debug() instead of printf(). Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Albert Aribaud <albert.u.boot@aribaud.net> CC: Mike Frysinger <vapier@gentoo.org> CC: Marek Vasut <marex@denx.de> Acked-by: Marek Vasut <marex@denx.de>
-rw-r--r--arch/arm/cpu/arm926ejs/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm926ejs/cache.c b/arch/arm/cpu/arm926ejs/cache.c
index 5b23e3a..4430578 100644
--- a/arch/arm/cpu/arm926ejs/cache.c
+++ b/arch/arm/cpu/arm926ejs/cache.c
@@ -55,7 +55,7 @@ static int check_cache_range(unsigned long start, unsigned long stop)
ok = 0;
if (!ok)
- printf("CACHE: Misaligned operation at range [%08lx, %08lx]\n",
+ debug("CACHE: Misaligned operation at range [%08lx, %08lx]\n",
start, stop);
return ok;