[PATCH] AHCI support

Sascha Hauer s.hauer at pengutronix.de
Thu Dec 6 08:34:21 EST 2012


The following adds support for AHCI based SATA controllers. Some
cleanup has to be done first as currently our ATA support assumes
that all devices have a SFF interface, so this has to be separated
first.

----------------------------------------------------------------
Sascha Hauer (9):
      ata: register disks as /dev/ata*
      ata: fix status flags
      ata: split ide sff suport to separate file
      ata: align ata command defines with kernel
      ata: Use dma_alloc for buffer
      ata: Add ahci support
      mfd: Add i.MX6 iomux gpr header file
      ata: Add i.MX AHCI driver
      ARM i.MX5: Add SATA support

 arch/arm/mach-imx/clk-imx5.c                   |    1 +
 arch/arm/mach-imx/include/mach/devices-imx53.h |    5 +
 arch/arm/mach-imx/include/mach/imx53-regs.h    |    2 +
 drivers/ata/Kconfig                            |   15 +-
 drivers/ata/Makefile                           |    3 +
 drivers/ata/ahci.c                             |  678 ++++++++++++++++++++++++
 drivers/ata/ahci.h                             |  182 +++++++
 drivers/ata/disk_ata_drive.c                   |  345 ++----------
 drivers/ata/ide-sff.c                          |  343 ++++++++++++
 drivers/ata/intf_platform_ide.c                |    2 +-
 drivers/ata/pata-imx.c                         |    2 +-
 drivers/ata/sata-imx.c                         |  155 ++++++
 include/ata_drive.h                            |   43 +-
 include/mfd/imx6q-iomuxc-gpr.h                 |  320 +++++++++++
 14 files changed, 1783 insertions(+), 313 deletions(-)
 create mode 100644 drivers/ata/ahci.c
 create mode 100644 drivers/ata/ahci.h
 create mode 100644 drivers/ata/ide-sff.c
 create mode 100644 drivers/ata/sata-imx.c
 create mode 100644 include/mfd/imx6q-iomuxc-gpr.h



More information about the barebox mailing list