summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-10-29 02:52:17 +0000
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-10-29 02:52:17 +0000
commit20a25da87f8182c43394ea1797604db3d01e6501 (patch)
treebb4f3df0a54dd4dc6222d6cb70851bfa8d05a81a /package/kernel
parent749adea516473da5c2fafe28b08b5ca8786baa73 (diff)
kernel: add w1-master-mxc module
Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38575 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-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 a85c22f5d2..c2fc6495d4 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
#