diff options
author | Simon Glass <sjg@chromium.org> | 2015-03-25 12:22:15 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 11:11:22 -0600 |
commit | 91557579af4d5492104cb632cb44746b9867fb81 (patch) | |
tree | c205c3a1739c61724d797f67eb4c5c4b4e4a3d44 /scripts/Makefile.extrawarn | |
parent | 7fc2c1ea7bbb321e2dbd7dc4ab099ce970eab482 (diff) | |
download | u-boot-imx-91557579af4d5492104cb632cb44746b9867fb81.zip u-boot-imx-91557579af4d5492104cb632cb44746b9867fb81.tar.gz u-boot-imx-91557579af4d5492104cb632cb44746b9867fb81.tar.bz2 |
dm: usb: Move storage device scanning into its own function
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>
Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'scripts/Makefile.extrawarn')
0 files changed, 0 insertions, 0 deletions