]> git.sur5r.net Git - u-boot/commit
dm: usb: Convert USB storage to use driver-model for block devs
authorSimon Glass <sjg@chromium.org>
Mon, 29 Feb 2016 22:25:58 +0000 (15:25 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 14 Mar 2016 21:34:50 +0000 (15:34 -0600)
commit07b2b78ce4bc8ae25e066c65245eaf58c0d9a67c
treee46646dc3a40102a6a7ef01d0b8bb1889d34f3e3
parent40fd050890e08eb6d064aaf074cf3a8b75d1251e
dm: usb: Convert USB storage to use driver-model for block devs

Update this code to support CONFIG_BLK. Each USB storage device can have
one or more block devices as children, each one representing a LUN
(logical unit) of the USB device.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Tested-by: Stephen Warren <swarren@nvidia.com>
common/usb_storage.c