aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2009-02-10 17:12:12 +0000
committerMichael Büsch <mb@bu3sch.de>2009-02-10 17:12:12 +0000
commit80770bfac2089c79b47f8b051874b1178c1b50b7 (patch)
tree12aa0dbed1995f0cd945f13a691dfc8e586dec8b /package/kernel/modules
parent317bf035162f73b469bd548be571f7bd0b95e816 (diff)
downloadmaster-187ad058-80770bfac2089c79b47f8b051874b1178c1b50b7.tar.gz
master-187ad058-80770bfac2089c79b47f8b051874b1178c1b50b7.tar.bz2
master-187ad058-80770bfac2089c79b47f8b051874b1178c1b50b7.zip
Port SPI-GPIO driver from 2.6.29-rc4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14465 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules')
-rw-r--r--package/kernel/modules/other.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 063096fe9b..a75195a6bd 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -705,6 +705,21 @@ endef
$(eval $(call KernelPackage,spi-gpio-old))
+define KernelPackage/spi-gpio
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=GPIO-based bitbanging SPI Master
+ DEPENDS:=@GPIO_SUPPORT +kmod-spi-bitbang
+ KCONFIG:=CONFIG_SPI_GPIO
+ FILES:=$(LINUX_DIR)/drivers/spi/spi_gpio.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,92,spi_gpio)
+endef
+
+define KernelPackage/spi-gpio/description
+ This package contains the GPIO-based bitbanging SPI Master
+endef
+
+$(eval $(call KernelPackage,spi-gpio))
+
define KernelPackage/spi-dev
SUBMENU:=$(OTHER_MENU)
TITLE:=User mode SPI device driver