aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-10-04 09:16:13 +0000
committerLars-Peter Clausen <lars@metafoo.de>2010-10-04 09:16:13 +0000
commit2ba2936b586ce9decf1b3a4031c53a11c00e0b25 (patch)
tree01a2764cb3fc0307d032359321bca57b0453bc78
parent1162dfde8232320637b28cc2b0ac3fc97393dab1 (diff)
downloadupstream-2ba2936b586ce9decf1b3a4031c53a11c00e0b25.tar.gz
upstream-2ba2936b586ce9decf1b3a4031c53a11c00e0b25.tar.bz2
upstream-2ba2936b586ce9decf1b3a4031c53a11c00e0b25.zip
kernel: kirkwood/orion I2C module support
This patch adds support for configuring kirkwood/orion i2c module. Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com> SVN-Revision: 23215
-rw-r--r--package/kernel/modules/i2c.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk
index 14fbcf8e9e..9612f965f9 100644
--- a/package/kernel/modules/i2c.mk
+++ b/package/kernel/modules/i2c.mk
@@ -167,3 +167,19 @@ define KernelPackage/i2c-ibm-iic/description
endef
$(eval $(call KernelPackage,i2c-ibm-iic))
+
+I2C_MV64XXX_MODULES:=\
+ CONFIG_I2C_MV64XXX:drivers/i2c/busses/i2c-mv64xxx
+
+define KernelPackage/i2c-mv64xxx
+ $(call i2c_defaults,$(I2C_MV64XXX_MODULES),59)
+ TITLE:=Orion Platform I2C interface support
+ DEPENDS:=@TARGET_kirkwood||TARGET_orion +kmod-i2c-core
+endef
+
+define KernelPackage/i2c-mv64xxx/description
+ Kernel module for I2C interface on the Kirkwood and Orion
+ family processors.
+endef
+
+$(eval $(call KernelPackage,i2c-mv64xxx))