This patch adds support for configuring kirkwood/orion i2c module.

Signed-off-by: Wojciech Dubowik <wojciech.dubo...@neratec.com>

---

Index: package/kernel/modules/i2c.mk
===================================================================
--- package/kernel/modules/i2c.mk       (revision 23166)
+++ package/kernel/modules/i2c.mk       (working copy)
@@ -167,3 +167,19 @@
 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))
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to