]> git.sur5r.net Git - u-boot/commit - common/cmd_usb.c
dm: usb: Convert 'usb' command to support driver model
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:22:02 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:20 +0000 (11:11 -0600)
commit6a1b206dc48d435c6394cf3a8acc8a883516dd9d
tree26e7aa38c1aa3aca578112813d1394c9c97d3c9f
parent79b5888729b65e7040d6a964f0015fc2c21b2385
dm: usb: Convert 'usb' command to support driver model

Adjust this command to work with the new driver model uclass. It needs to
iterate through multiple independent controllers to find hubs, and work
through their children recursively in a different way. Otherwise the
functionality is much the same.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
common/cmd_usb.c