projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a574cff
)
cmd_usb.c: print debug messages only when DEBUG is defined
author
Wolfgang Denk
<wd@denx.de>
Thu, 25 Mar 2010 13:07:23 +0000
(14:07 +0100)
committer
Wolfgang Denk
<wd@denx.de>
Sat, 27 Mar 2010 23:19:45 +0000
(
00:19
+0100)
Signed-off-by: Wolfgang Denk <wd@denx.de>
common/cmd_usb.c
patch
|
blob
|
history
diff --git
a/common/cmd_usb.c
b/common/cmd_usb.c
index
9de515c
..
6b5c582
100644
(file)
--- a/
common/cmd_usb.c
+++ b/
common/cmd_usb.c
@@
-601,7
+601,7
@@
int do_usb(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
ok++;
if (devno)
printf("\n");
-
printf
("print_part of %x\n", devno);
+
debug
("print_part of %x\n", devno);
print_part(stor_dev);
}
}
@@
-610,7
+610,7
@@
int do_usb(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
stor_dev = usb_stor_get_dev(devno);
if (stor_dev->type != DEV_TYPE_UNKNOWN) {
ok++;
-
printf
("print_part of %x\n", devno);
+
debug
("print_part of %x\n", devno);
print_part(stor_dev);
}
}