aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/modules.mk
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2014-01-04 16:30:56 +0000
committerZoltan HERPAI <wigyori@uid0.hu>2014-01-04 16:30:56 +0000
commit17a9e4981567f61aeb473c0ab44ce2b28b38aaab (patch)
treedba301feb3ad3ed4bb9a8ccb0243e1c83e211e32 /target/linux/sunxi/modules.mk
parent8f910379563439126ca5fb3b2335e4e7e0bbd315 (diff)
downloadupstream-17a9e4981567f61aeb473c0ab44ce2b28b38aaab.tar.gz
upstream-17a9e4981567f61aeb473c0ab44ce2b28b38aaab.tar.bz2
upstream-17a9e4981567f61aeb473c0ab44ce2b28b38aaab.zip
sunxi: add sata driver for sun[47]i
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39197 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/sunxi/modules.mk')
-rw-r--r--target/linux/sunxi/modules.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/sunxi/modules.mk b/target/linux/sunxi/modules.mk
index 5fffbc7a8b..1a54677046 100644
--- a/target/linux/sunxi/modules.mk
+++ b/target/linux/sunxi/modules.mk
@@ -38,3 +38,19 @@ endef
$(eval $(call KernelPackage,eeprom-sunxi))
+define KernelPackage/ata-sunxi
+ TITLE:=AllWinner sunXi AHCI SATA support
+ SUBMENU:=$(BLOCK_MENU)
+ DEPENDS:=@TARGET_sunxi +kmod-scsi-core
+ KCONFIG:=\
+ CONFIG_AHCI_SUNXI \
+ CONFIG_SATA_AHCI_PLATFORM
+ FILES:=$(LINUX_DIR)/drivers/ata/ahci_sunxi.ko
+ AUTOLOAD:=$(call AutoLoad,41,ahci_sunxi,1)
+endef
+
+define KernelPackage/ata-sunxi/description
+ SATA support for the AllWinner sunXi SoC's onboard AHCI SATA
+endef
+
+$(eval $(call KernelPackage,ata-sunxi))