projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
219872c
)
ARM: 926ejs: use debug() for misaligned addresses
author
Stefano Babic
<
[email protected]
>
Mon, 2 Apr 2012 06:18:49 +0000
(06:18 +0000)
committer
Albert ARIBAUD
<
[email protected]
>
Mon, 16 Apr 2012 12:53:59 +0000
(14:53 +0200)
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 <
[email protected]
>
CC: Albert Aribaud <
[email protected]
>
CC: Mike Frysinger <
[email protected]
>
CC: Marek Vasut <
[email protected]
>
Acked-by: Marek Vasut <
[email protected]
>
arch/arm/cpu/arm926ejs/cache.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/arm926ejs/cache.c
b/arch/arm/cpu/arm926ejs/cache.c
index 5b23e3a71b759db16dc7e14deab73b4c72d80aa8..4430578a81c1f7f1dd49f7f41413b50ad499dffd 100644
(file)
--- 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;