Skip to content
Snippets Groups Projects
Commit c8d9ceaf authored by Stefano Babic's avatar Stefano Babic Committed by Albert ARIBAUD
Browse files

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: default avatarStefano 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: default avatarMarek Vasut <marex@denx.de>
parent 219872c8
Branches
Tags
No related merge requests found
...@@ -55,7 +55,7 @@ static int check_cache_range(unsigned long start, unsigned long stop) ...@@ -55,7 +55,7 @@ static int check_cache_range(unsigned long start, unsigned long stop)
ok = 0; ok = 0;
if (!ok) if (!ok)
printf("CACHE: Misaligned operation at range [%08lx, %08lx]\n", debug("CACHE: Misaligned operation at range [%08lx, %08lx]\n",
start, stop); start, stop);
return ok; return ok;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment