mbox series

[U-Boot,v4,0/4] ahci mvebu driver updates

Message ID 1527234567-2431-1-git-send-email-make@marvell.com
Headers show
Series ahci mvebu driver updates | expand

Message

Ken Ma May 25, 2018, 7:49 a.m. UTC
From: Ken Ma <make@marvell.com>


These patches move ahci mvebu driver to drivers/ata directory with bug
fixing and scsi supporting.

Changes in v4:
- Base on the latest mainline git version
- Let AHCI_MVEBU depend on AHCI and select SCSI_AHCI
ahci_mvebu driver is based on AHCI UCLASS, so let AHCI_MVEBU based on
AHCI; and this driver uses ahci_init() in ahci.c, so let it select
SCSI_AHCI. In this patch, DM_SCSI is not selected and it will be
selected in the later patch which adds scsi support by creating a SCSI
device as a child of mvebu ahci device.
- Let AHCI_MVEBU select DM_SCSI
This patch adds scsi support by creating a SCSI device as a child of
mvebu ahci device; the functions of creating SCSI device need the
kconfig option DM_SCSI, so let AHCI_MVEBU select DM_SCSI.
- Remove CONFIG_AHCI_MVEBU from marvell arm64 default config files
Since AHCI_MVEBU selects SCSI_AHCI and it is added into marvell arm64
default config files, so CONFIG_SCSI_AHCI is removed.

Changes in v3:
- Use the new SPDX tags

Changes in v2:
- Add MAINTAINERS updating

David Sniatkiwicz (1):
  ata: ahci_mvebu: a8040 a0: remove bad port register offsets
    workarounds

Ken Ma (3):
  ata: mvebu: move mvebu sata driver to drivers/ata directory
  ata: ahci_mvebu: add scsi support
  arm64: mvebu: defconfig: enable CONFIG_AHCI_MVEBU

 MAINTAINERS                                           |  1 +
 arch/arm/mach-mvebu/Makefile                          |  1 -
 configs/mvebu_db-88f3720_defconfig                    |  2 +-
 configs/mvebu_db_armada8k_defconfig                   |  2 +-
 configs/mvebu_espressobin-88f3720_defconfig           |  2 +-
 configs/mvebu_mcbin-88f8040_defconfig                 |  2 +-
 drivers/ata/Kconfig                                   | 11 +++++++++++
 drivers/ata/Makefile                                  |  1 +
 .../arm/mach-mvebu/sata.c => drivers/ata/ahci_mvebu.c | 19 +++++++++++++------
 9 files changed, 30 insertions(+), 11 deletions(-)
 rename arch/arm/mach-mvebu/sata.c => drivers/ata/ahci_mvebu.c (71%)

Comments

Stefan Roese May 29, 2018, 8:35 a.m. UTC | #1
On 25.05.2018 09:49, make@marvell.com wrote:
> From: Ken Ma <make@marvell.com>
> 
> 
> These patches move ahci mvebu driver to drivers/ata directory with bug
> fixing and scsi supporting.
> 
> Changes in v4:
> - Base on the latest mainline git version
> - Let AHCI_MVEBU depend on AHCI and select SCSI_AHCI
> ahci_mvebu driver is based on AHCI UCLASS, so let AHCI_MVEBU based on
> AHCI; and this driver uses ahci_init() in ahci.c, so let it select
> SCSI_AHCI. In this patch, DM_SCSI is not selected and it will be
> selected in the later patch which adds scsi support by creating a SCSI
> device as a child of mvebu ahci device.
> - Let AHCI_MVEBU select DM_SCSI
> This patch adds scsi support by creating a SCSI device as a child of
> mvebu ahci device; the functions of creating SCSI device need the
> kconfig option DM_SCSI, so let AHCI_MVEBU select DM_SCSI.
> - Remove CONFIG_AHCI_MVEBU from marvell arm64 default config files
> Since AHCI_MVEBU selects SCSI_AHCI and it is added into marvell arm64
> default config files, so CONFIG_SCSI_AHCI is removed.
> 
> Changes in v3:
> - Use the new SPDX tags
> 
> Changes in v2:
> - Add MAINTAINERS updating
> 
> David Sniatkiwicz (1):
>    ata: ahci_mvebu: a8040 a0: remove bad port register offsets
>      workarounds
> 
> Ken Ma (3):
>    ata: mvebu: move mvebu sata driver to drivers/ata directory
>    ata: ahci_mvebu: add scsi support
>    arm64: mvebu: defconfig: enable CONFIG_AHCI_MVEBU
> 
>   MAINTAINERS                                           |  1 +
>   arch/arm/mach-mvebu/Makefile                          |  1 -
>   configs/mvebu_db-88f3720_defconfig                    |  2 +-
>   configs/mvebu_db_armada8k_defconfig                   |  2 +-
>   configs/mvebu_espressobin-88f3720_defconfig           |  2 +-
>   configs/mvebu_mcbin-88f8040_defconfig                 |  2 +-
>   drivers/ata/Kconfig                                   | 11 +++++++++++
>   drivers/ata/Makefile                                  |  1 +
>   .../arm/mach-mvebu/sata.c => drivers/ata/ahci_mvebu.c | 19 +++++++++++++------
>   9 files changed, 30 insertions(+), 11 deletions(-)
>   rename arch/arm/mach-mvebu/sata.c => drivers/ata/ahci_mvebu.c (71%)

Series applied to u-boot-marvell/master

Thanks,
Stefan