summaryrefslogtreecommitdiff
path: root/package/kernel/linux/modules/w1.mk
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-10-29 02:52:17 +0000
committerLuka Perkov <luka@openwrt.org>2013-10-29 02:52:17 +0000
commitf7ccdbec754cf1d626524db1e65e9a86243424de (patch)
tree76b39cd559c9ed3ed4afecd079610ae456be0b4d /package/kernel/linux/modules/w1.mk
parentdf388048b472ac1739cf7a98134ec8534fa94117 (diff)
downloadmtk-20170518-f7ccdbec754cf1d626524db1e65e9a86243424de.zip
mtk-20170518-f7ccdbec754cf1d626524db1e65e9a86243424de.tar.gz
mtk-20170518-f7ccdbec754cf1d626524db1e65e9a86243424de.tar.bz2
kernel: add w1-master-mxc module
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38575
Diffstat (limited to 'package/kernel/linux/modules/w1.mk')
-rw-r--r--package/kernel/linux/modules/w1.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/w1.mk b/package/kernel/linux/modules/w1.mk
index a85c22f..c2fc649 100644
--- a/package/kernel/linux/modules/w1.mk
+++ b/package/kernel/linux/modules/w1.mk
@@ -79,6 +79,23 @@ endef
$(eval $(call KernelPackage,w1-master-ds2490))
+
+define KernelPackage/w1-master-mxc
+ TITLE:=Freescale MXC 1-wire busmaster
+ DEPENDS:=@(TARGET_mxs||TARGET_imx6)
+ KCONFIG:=CONFIG_W1_MASTER_MXC
+ FILES:=$(W1_MASTERS_DIR)/mxc_w1.ko
+ AUTOLOAD:=$(call AutoProbe,mxc_w1)
+ $(call AddDepends/w1)
+endef
+
+define KernelPackage/w1-master-mxc/description
+ Kernel module for 1-wire Freescale MXC 1-wire busmaster
+endef
+
+$(eval $(call KernelPackage,w1-master-mxc))
+
+
#
# 1-wire slaves
#