diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-03-30 15:36:22 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-03-30 15:36:22 +0000 |
commit | cb476efc172c2b8c1c9ab116bf9d791429c68537 (patch) | |
tree | 1ad45eb160a436e772264172ad448da06f3bfdea /package/kernel/modules/i2c.mk | |
parent | ada4206cc5088ef2cd317f4f9eeeec2d3e905405 (diff) | |
download | upstream-cb476efc172c2b8c1c9ab116bf9d791429c68537.tar.gz upstream-cb476efc172c2b8c1c9ab116bf9d791429c68537.tar.bz2 upstream-cb476efc172c2b8c1c9ab116bf9d791429c68537.zip |
package i2c master driver
SVN-Revision: 26373
Diffstat (limited to 'package/kernel/modules/i2c.mk')
-rw-r--r-- | package/kernel/modules/i2c.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk index e4d714e902..a88bfa9511 100644 --- 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)) |