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
commit34ca9f355ec9504ed9458c5e693b79551893d2f8 (patch)
tree2e4f2872df1336bd6875318b2917a0ccab172211 /target/linux/sunxi/modules.mk
parent9808a0830b3a81c9855286ea97b86b1f4705ad0a (diff)
downloadupstream-34ca9f355ec9504ed9458c5e693b79551893d2f8.tar.gz
upstream-34ca9f355ec9504ed9458c5e693b79551893d2f8.tar.bz2
upstream-34ca9f355ec9504ed9458c5e693b79551893d2f8.zip
sunxi: add sata driver for sun[47]i
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39197
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))