kernel: add imx sata module
authorLuka Perkov <luka@openwrt.org>
Tue, 10 Sep 2013 22:26:37 +0000 (22:26 +0000)
committerLuka Perkov <luka@openwrt.org>
Tue, 10 Sep 2013 22:26:37 +0000 (22:26 +0000)
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 37937

package/kernel/linux/modules/block.mk

index a26d4538f42c2da82a4dd9586b60cbca21f11db9..c5fcb9a6e86cbeb5fead2ed1873aa865bf181a3e 100644 (file)
@@ -72,6 +72,24 @@ endef
 $(eval $(call KernelPackage,ata-artop))
 
 
+define KernelPackage/ata-imx
+  TITLE:=Freescale i.MX6 AHCI SATA support
+  KCONFIG:=\
+       CONFIG_AHCI_IMX \
+       CONFIG_SATA_AHCI_PLATFORM \
+       CONFIG_PATA_IMX=n
+  FILES:=$(LINUX_DIR)/drivers/ata/ahci_imx.ko
+  AUTOLOAD:=$(call AutoLoad,41,ahci_imx,1)
+  $(call AddDepends/ata)
+endef
+
+define KernelPackage/ata-imx/description
+ SATA support for the Freescale i.MX6 SoC's onboard AHCI SATA
+endef
+
+$(eval $(call KernelPackage,ata-imx))
+
+
 define KernelPackage/ata-marvell-sata
   TITLE:=Marvell Serial ATA support
   KCONFIG:=CONFIG_SATA_MV