[U-Boot] [PATCH v4 1/7] scsi: dm: split scsi_scan()

Simon Glass sjg at chromium.org
Mon Apr 24 03:38:45 UTC 2017


On 21 April 2017 at 04:08, Jean-Jacques Hiblot <jjhiblot at 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 <jjhiblot at ti.com>
> ---
>  common/scsi.c | 102 ++++++++++++++++++++++++++++------------------------------
>  1 file changed, 49 insertions(+), 53 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list