diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-07-10 19:43:07 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-07-10 19:43:07 +0000 |
commit | 110687b491021e25783216f6c5b02ccae3f825a3 (patch) | |
tree | 9cad5a84bea8c60808f5e4f302605666917504f0 /target/linux/brcm2708/modules.mk | |
parent | c263d5725b89111426cbf6f489e26f1a6f88d60c (diff) | |
download | openwrt-110687b491021e25783216f6c5b02ccae3f825a3.tar.gz openwrt-110687b491021e25783216f6c5b02ccae3f825a3.tar.bz2 openwrt-110687b491021e25783216f6c5b02ccae3f825a3.zip |
brcm2708: package the i2c master driver module
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 37235
Diffstat (limited to 'target/linux/brcm2708/modules.mk')
-rw-r--r-- | target/linux/brcm2708/modules.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/brcm2708/modules.mk b/target/linux/brcm2708/modules.mk index 7005c3a9d1..8f00990393 100644 --- a/target/linux/brcm2708/modules.mk +++ b/target/linux/brcm2708/modules.mk @@ -57,3 +57,21 @@ define KernelPackage/spi-bcm2708/description endef $(eval $(call KernelPackage,spi-bcm2708)) + + +I2C_BCM2708_MODULES:=\ + CONFIG_I2C_BCM2708:drivers/i2c/busses/i2c-bcm2708 + +define KernelPackage/i2c-bcm2708 + $(call i2c_defaults,$(I2C_BCM2708_MODULES),59) + KCONFIG+= \ + CONFIG_I2C_BCM2708_BAUDRATE=100000 + TITLE:=Broadcom BCM2708 I2C master controller driver + DEPENDS:=@TARGET_brcm2708 +kmod-i2c-core +endef + +define KernelPackage/i2c-bcm2708/description + This package contains the Broadcom 2708 I2C master controller driver +endef + +$(eval $(call KernelPackage,i2c-bcm2708)) |