projects
/
openwrt
/
staging
/
rmilecki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ada4206
)
package i2c master driver
author
Florian Fainelli
<florian@openwrt.org>
Wed, 30 Mar 2011 15:36:22 +0000
(15:36 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Wed, 30 Mar 2011 15:36:22 +0000
(15:36 +0000)
SVN-Revision: 26373
package/kernel/modules/i2c.mk
patch
|
blob
|
history
diff --git
a/package/kernel/modules/i2c.mk
b/package/kernel/modules/i2c.mk
index e4d714e90216e8a16a0584a02b7bfcbc4d2d92be..a88bfa9511c0898f2454468aab533c801165f5d4 100644
(file)
--- a/
package/kernel/modules/i2c.mk
+++ b/
package/kernel/modules/i2c.mk
@@
-199,3
+199,18
@@
define KernelPackage/at91-i2c/description
endef
$(eval $(call KernelPackage,at91-i2c))
+
+I2C_OCTEON_MODULES:=\
+ CONFIG_I2C_OCTEON:drivers/i2c/busses/i2c-octeon
+
+define KernelPackage/octeon-i2c
+ $(call i2c_defaults,$(I2C_OCTEON_MODULES),59)
+ TITLE:=I2C master driver for Cavium Octeon
+ DEPENDS:=@TARGET_octeon +kmod-i2c-core
+endef
+
+define KernelPackage/octeon-i2c/description
+ Kernel module to use the I2C master driver on Cavium Octeon
+endef
+
+$(eval $(call KernelPackage,octeon-i2c))