[U-Boot] [PATCH 07/29] sata: Move drivers into new drivers/ata directory

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


On Tue, Jun 6, 2017 at 3:14 AM, Simon Glass <sjg at chromium.org> wrote:
> At present we have the SATA and PATA drivers mixed up in the drivers/block
> directory. It is better to split them out into their own place. Use
> drivers/ata which is what Linux does.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  arch/powerpc/cpu/mpc85xx/cpu_init.c   |  2 +-
>  common/Makefile                       |  1 -
>  drivers/Kconfig                       |  2 ++
>  drivers/Makefile                      |  3 +-
>  drivers/ata/Kconfig                   | 62 +++++++++++++++++++++++++++++++++++
>  drivers/ata/Makefile                  | 22 +++++++++++++
>  drivers/{block => ata}/ahci-uclass.c  |  0
>  drivers/{block => ata}/ahci.c         |  0
>  drivers/{block => ata}/dwc_ahci.c     |  0
>  drivers/{block => ata}/dwc_ahsata.c   |  0
>  drivers/{block => ata}/dwc_ahsata.h   |  0
>  drivers/{block => ata}/fsl_sata.c     |  0
>  drivers/{block => ata}/fsl_sata.h     |  0
>  drivers/{block => ata}/libata.c       |  0
>  drivers/{block => ata}/mvsata_ide.c   |  0
>  drivers/{block => ata}/mxc_ata.c      |  0
>  {common => drivers/ata}/sata.c        |  0
>  drivers/{block => ata}/sata_ceva.c    |  0
>  drivers/{block => ata}/sata_dwc.c     |  0
>  drivers/{block => ata}/sata_dwc.h     |  0
>  drivers/{block => ata}/sata_mv.c      |  0
>  drivers/{block => ata}/sata_sandbox.c |  0
>  drivers/{block => ata}/sata_sil.c     |  0
>  drivers/{block => ata}/sata_sil.h     |  0
>  drivers/{block => ata}/sata_sil3114.c |  0
>  drivers/{block => ata}/sata_sil3114.h |  0
>  drivers/block/Kconfig                 | 45 -------------------------
>  drivers/block/Makefile                | 16 +--------
>  28 files changed, 90 insertions(+), 63 deletions(-)
>  create mode 100644 drivers/ata/Kconfig
>  create mode 100644 drivers/ata/Makefile
>  rename drivers/{block => ata}/ahci-uclass.c (100%)
>  rename drivers/{block => ata}/ahci.c (100%)
>  rename drivers/{block => ata}/dwc_ahci.c (100%)
>  rename drivers/{block => ata}/dwc_ahsata.c (100%)
>  rename drivers/{block => ata}/dwc_ahsata.h (100%)
>  rename drivers/{block => ata}/fsl_sata.c (100%)
>  rename drivers/{block => ata}/fsl_sata.h (100%)
>  rename drivers/{block => ata}/libata.c (100%)
>  rename drivers/{block => ata}/mvsata_ide.c (100%)
>  rename drivers/{block => ata}/mxc_ata.c (100%)
>  rename {common => drivers/ata}/sata.c (100%)
>  rename drivers/{block => ata}/sata_ceva.c (100%)
>  rename drivers/{block => ata}/sata_dwc.c (100%)
>  rename drivers/{block => ata}/sata_dwc.h (100%)
>  rename drivers/{block => ata}/sata_mv.c (100%)
>  rename drivers/{block => ata}/sata_sandbox.c (100%)
>  rename drivers/{block => ata}/sata_sil.c (100%)
>  rename drivers/{block => ata}/sata_sil.h (100%)
>  rename drivers/{block => ata}/sata_sil3114.c (100%)
>  rename drivers/{block => ata}/sata_sil3114.h (100%)
>

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


More information about the U-Boot mailing list