mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
brcm2708: package the i2c master driver module
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37235 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user