[U-Boot] [PATCH 24/29] dm: scsi: Add operations for SCSI devices

Bin Meng bmeng.cn at gmail.com
Tue Jun 13 03:14:35 UTC 2017


On Tue, Jun 6, 2017 at 3:15 AM, Simon Glass <sjg at chromium.org> wrote:
> The SCSI uclass currently has no operations. It just uses the global SCSI
> functions. Fix this by adding operations to the only two drivers that use
> the uclass, and replacing the global functions with those defined locally
> in the SCSI code.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  drivers/ata/ahci.c         |  7 +++++++
>  drivers/ata/dwc_ahci.c     |  1 +
>  drivers/ata/sata_ceva.c    |  1 +
>  drivers/scsi/scsi-uclass.c | 20 ++++++++++++++++++++
>  include/scsi.h             | 28 +++++++++++++++++++++++-----
>  5 files changed, 52 insertions(+), 5 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list