Re: [U-Boot] [PATCH v3 1/2] dm: Add support for scsi/sata based devices

2016-12-01 Thread Michal Simek
On 1.12.2016 03:20, Simon Glass wrote: > Hi Michal, > > On 30 November 2016 at 13:48, Michal Simek wrote: >> All sata based drivers are bind and corresponding block >> device is created. Based on this find_scsi_device() is able >> to get back block device based on

Re: [U-Boot] [PATCH v3 1/2] dm: Add support for scsi/sata based devices

2016-11-30 Thread Simon Glass
Hi Michal, On 30 November 2016 at 13:48, Michal Simek wrote: > All sata based drivers are bind and corresponding block > device is created. Based on this find_scsi_device() is able > to get back block device based on scsi_curr_dev pointer. > > intr_scsi() is commented

[U-Boot] [PATCH v3 1/2] dm: Add support for scsi/sata based devices

2016-11-30 Thread Michal Simek
All sata based drivers are bind and corresponding block device is created. Based on this find_scsi_device() is able to get back block device based on scsi_curr_dev pointer. intr_scsi() is commented now but it can be replaced by calling find_scsi_device() and scsi_scan(). scsi_dev_desc[] is