mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-28 01:51:33 +00:00
cmd_usb.c: print debug messages only when DEBUG is defined
Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
a574cff121
commit
060f28532b
1 changed files with 2 additions and 2 deletions
|
@ -601,7 +601,7 @@ int do_usb(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
ok++;
|
ok++;
|
||||||
if (devno)
|
if (devno)
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf("print_part of %x\n", devno);
|
debug("print_part of %x\n", devno);
|
||||||
print_part(stor_dev);
|
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);
|
stor_dev = usb_stor_get_dev(devno);
|
||||||
if (stor_dev->type != DEV_TYPE_UNKNOWN) {
|
if (stor_dev->type != DEV_TYPE_UNKNOWN) {
|
||||||
ok++;
|
ok++;
|
||||||
printf("print_part of %x\n", devno);
|
debug("print_part of %x\n", devno);
|
||||||
print_part(stor_dev);
|
print_part(stor_dev);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue