summaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-04 09:16:13 +0000
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-04 09:16:13 +0000
commitff79543946d5dcc99b9678101fca537e5bd6c1ce (patch)
tree08711c164b8d10b12f996f302e84037c30a402cc /package/kernel
parent45cd926b589951aeeaeeed5426ba687e282b0372 (diff)
[packages] 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23215 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-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 14fbcf8e9..9612f965f 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))