[at91] Fix i2c driver and package it

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24975 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Claudio Mignanti
2011-01-13 12:01:07 +00:00
parent e473c99613
commit 3f73c49ad5
2 changed files with 300 additions and 0 deletions

View File

@@ -183,3 +183,18 @@ define KernelPackage/i2c-mv64xxx/description
endef
$(eval $(call KernelPackage,i2c-mv64xxx))
define KernelPackage/at91-i2c
SUBMENU:=$(I2C_MENU)
TITLE:=I2C (TWI) master driver for Atmel AT91
DEPENDS:=@TARGET_at91 kmod-i2c-core
KCONFIG:=CONFIG_I2C_AT91
FILES:=$(LINUX_DIR)/drivers/i2c/busses/i2c-at91.ko
AUTOLOAD:=$(call AutoLoad,55,i2c-at91)
endef
define KernelPackage/at91-i2c/description
Kernel module to use the I2C (TWI) master driver for Atmel AT91
endef
$(eval $(call KernelPackage,at91-i2c))