diff options
author | Claudio Mignanti <c.mignanti@gmail.com> | 2011-01-13 12:01:07 +0000 |
---|---|---|
committer | Claudio Mignanti <c.mignanti@gmail.com> | 2011-01-13 12:01:07 +0000 |
commit | 3f73c49ad50fd287e688963bc6bd857e479f3731 (patch) | |
tree | b612d1518100f59ff65ce108135b73db6c89a61c /package/kernel | |
parent | e473c99613b6c62c5c591ac02fe0ee42b1dfe414 (diff) | |
download | upstream-3f73c49ad50fd287e688963bc6bd857e479f3731.tar.gz upstream-3f73c49ad50fd287e688963bc6bd857e479f3731.tar.bz2 upstream-3f73c49ad50fd287e688963bc6bd857e479f3731.zip |
[at91] Fix i2c driver and package it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24975 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-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 9612f965f9..8ca3819278 100644 --- a/package/kernel/modules/i2c.mk +++ b/package/kernel/modules/i2c.mk @@ -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)) |