On 21 April 2017 at 04:08, Jean-Jacques Hiblot <jjhib...@ti.com> wrote:
> The DM version of scsi_scan() is becoming a bit long, it can be split:
> scsi_scan() iterates over the IDs and LUNs and for each id/lun pair calls
> do_scsi_scan_one() to do the work of:
>  - detecting an attached drive
>  - creating the associated block device if a drive is found.
>
> Signed-off-by: Jean-Jacques Hiblot <jjhib...@ti.com>
> ---
>  common/scsi.c | 102 
> ++++++++++++++++++++++++++++------------------------------
>  1 file changed, 49 insertions(+), 53 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to