diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-30 15:36:22 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-30 15:36:22 +0000 |
commit | cd80f9c2a7c7452083bcbf448ec750160c088950 (patch) | |
tree | 2ab1e618bb79150110f9d3753974f458c40d4bc5 /package | |
parent | ffe10da7acc59fd5e6aab932402fd17be6c17d04 (diff) |
[octeon] package i2c master driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26373 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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 e4d714e90..a88bfa951 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)) |