
7 Apr
2015
7 Apr
'15
8:43 p.m.
On 25 March 2015 at 12:22, Simon Glass sjg@chromium.org wrote:
The usb_stor_scan() function is quite long, so split out the code that scans each device into its own function. Also, rather than setting up the block device list once at the start, set it up as each device is scanned. This makes it possible to use this code from driver model.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2: None
common/usb_storage.c | 97 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 59 insertions(+), 38 deletions(-)
Applied to u-boot-dm/next.