[U-Boot] [PATCH v2 27/80] dm: usb: Move storage device scanning into its own function

Simon Glass sjg at chromium.org
Tue Apr 7 20:43:04 CEST 2015


On 25 March 2015 at 12:22, Simon Glass <sjg at 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 at chromium.org>
> ---
>
> Changes in v2: None
>
>  common/usb_storage.c | 97 ++++++++++++++++++++++++++++++++--------------------
>  1 file changed, 59 insertions(+), 38 deletions(-)

Applied to u-boot-dm/next.


More information about the U-Boot mailing list