aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mxs/modules.mk
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2014-12-12 11:39:22 +0000
committerZoltan Herpai <wigyori@uid0.hu>2014-12-12 11:39:22 +0000
commit2265c4db3126ef91c22e15ff2702e9d034091283 (patch)
tree3117ac3e76b48dcad9c56e3066657c8002fed3dc /target/linux/mxs/modules.mk
parentfc2dff246db939293d958ec1c1f720a149b3055d (diff)
downloadupstream-2265c4db3126ef91c22e15ff2702e9d034091283.tar.gz
upstream-2265c4db3126ef91c22e15ff2702e9d034091283.tar.bz2
upstream-2265c4db3126ef91c22e15ff2702e9d034091283.zip
mxs: i2c changes - add package for i2c module - remove i2c debug
Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 43648
Diffstat (limited to 'target/linux/mxs/modules.mk')
-rw-r--r--target/linux/mxs/modules.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/mxs/modules.mk b/target/linux/mxs/modules.mk
index afcf23865c..75d668a1d0 100644
--- a/target/linux/mxs/modules.mk
+++ b/target/linux/mxs/modules.mk
@@ -99,3 +99,18 @@ define KernelPackage/spi-mxs/description
endef
$(eval $(call KernelPackage,spi-mxs))
+
+I2C_MXS_MODULES:= \
+ CONFIG_I2C_MXS:drivers/i2c/busses/i2c-mxs
+
+define KernelPackage/i2c-mxs
+ $(call i2c_defaults,$(I2C_MXS_MODULES),55)
+ TITLE:=Freescale i.MX23/28 I2C driver
+ DEPENDS:=@TARGET_mxs +kmod-i2c-core
+endef
+
+define KernelPackage/i2c-mxs/description
+ Kernel module for Freescale i.MX23/28 I2C controller
+endef
+
+$(eval $(call KernelPackage,i2c-mxs))