]> git.baikalelectronics.ru Git - uboot.git/commit
dm: scsi: Add operations for SCSI devices
authorSimon Glass <sjg@chromium.org>
Thu, 15 Jun 2017 03:28:43 +0000 (21:28 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:19 +0000 (10:08 -0600)
commit54361d12392505e51116e2b0c88328a570514d36
treea3f3ebb2d9eddd7f7009adbc4cc01abf5c63c787
parent4e9abc2caf16cefc0af4ea5e3b6a8f9fbf116205
dm: scsi: Add operations for SCSI devices

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@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/ata/ahci.c
drivers/ata/dwc_ahci.c
drivers/ata/sata_ceva.c
drivers/scsi/scsi-uclass.c
include/scsi.h