summaryrefslogtreecommitdiff
path: root/package/kernel/modules
diff options
context:
space:
mode:
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-10 17:12:12 +0000
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-10 17:12:12 +0000
commit9e97fe261db0c03effd31865eea9f8759a4f2f16 (patch)
tree12aa0dbed1995f0cd945f13a691dfc8e586dec8b /package/kernel/modules
parent679983941285babf6236613cc1502ecc1b03cf80 (diff)
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