summary refs log tree commit diff
path: root/drivers/ata/Makefile
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2014-02-22 16:53:36 +0100
committerTejun Heo <tj@kernel.org>2014-02-22 15:35:42 -0500
commitc5754b5220f01e8722799d35c04a76e82c62d7d8 (patch)
tree59132ed247c3c68903c37fb0ee71d8249e44b98f /drivers/ata/Makefile
parent648cb6fd83b97f0f772db783a280af300fa9f2bc (diff)
downloadlinux-c5754b5220f01e8722799d35c04a76e82c62d7d8.tar.gz
ARM: sunxi: Add support for Allwinner SUNXi SoCs sata to ahci_platform
This patch adds support for the ahci sata controler found on Allwinner A10
and A20 SoCs to the ahci_platform driver.

Orignally written by Olliver Schinagl using the approach of having a platform
device which probe method creates a new child platform device which gets
driven by ahci_platform.c, as done by ahci_imx.c .

Refactored by Hans de Goede to add most of the non sunxi specific functionality
to ahci_platform.c and use a platform_data pointer from of_device_id for the
sunxi specific bits.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/Makefile')
-rw-r--r--drivers/ata/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/Makefile b/drivers/ata/Makefile
index 46518c622460..246050b4c198 100644
--- a/drivers/ata/Makefile
+++ b/drivers/ata/Makefile
@@ -11,6 +11,7 @@ obj-$(CONFIG_SATA_SIL24)	+= sata_sil24.o
 obj-$(CONFIG_SATA_DWC)		+= sata_dwc_460ex.o
 obj-$(CONFIG_SATA_HIGHBANK)	+= sata_highbank.o libahci.o
 obj-$(CONFIG_AHCI_IMX)		+= ahci_imx.o
+obj-$(CONFIG_AHCI_SUNXI)	+= ahci_sunxi.o
 
 # SFF w/ custom DMA
 obj-$(CONFIG_PDC_ADMA)		+= pdc_adma.o