aboutsummaryrefslogtreecommitdiffstats
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
commit080506d57069f0239cd370ba9036ea948a6c17e1 (patch)
treebb4f3df0a54dd4dc6222d6cb70851bfa8d05a81a
parente291d89f5c9c3d0de27c73d5f775964fc701aca6 (diff)
downloadupstream-080506d57069f0239cd370ba9036ea948a6c17e1.tar.gz
upstream-080506d57069f0239cd370ba9036ea948a6c17e1.tar.bz2
upstream-080506d57069f0239cd370ba9036ea948a6c17e1.zip
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
-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
#