[U-Boot] [PATCH v2 27/29] dm: ahci: Add a driver for SCSI on AHCI
sjg at google.com
sjg at google.com
Thu Jun 15 19:20:42 UTC 2017
On Thu, Jun 15, 2017 at 11:28 AM, Simon Glass <sjg at chromium.org> wrote:
> Some AHCI drivers use SCSI under the hood. Rather than making the AHCI
> driver be in the SCSI uclass it makes sense to have the AHCI device create
> a SCSI device as a child. That way we can handle any AHCI-specific
> operations rather than trying to pretend tha the device is just SCSI.
>
> To handle this we need to provide a way for AHCI drivers to bind a SCSI
> device as its child, and probe it. Add functions for this.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2:
> - Make it clear that non-PCI AHCI is not yet supported
>
> drivers/ata/ahci.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> include/ahci.h | 22 +++++++++++++++++++++
> 2 files changed, 79 insertions(+)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list