]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: storage: Show number of storage devices detected for DM_USB
authorMichal Simek <michal.simek@xilinx.com>
Wed, 21 Dec 2016 08:35:08 +0000 (09:35 +0100)
committerMarek Vasut <marek.vasut@gmail.com>
Tue, 17 Jan 2017 09:26:21 +0000 (10:26 +0100)
commitb984700ca4b98597825fbc79c47e7a621889adaf
tree870a2ad03a0680e4dc9444c5fa873a5f296a7775
parent59ef20303a54305b978453d5cc88f9aea2486021
usb: storage: Show number of storage devices detected for DM_USB

By enabling DM_USB information about number of storage devices
was lost.
Get this information back simply by printing number of devices detected
via BLK uclass.

For example:
scanning bus 0 for devices... 7 USB Device(s) found
       scanning usb for storage devices... 3 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
cmd/usb.c
common/usb_storage.c