aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
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
commitc3565fdf319a0ebd5e86357b9199629650ba4d5b (patch)
treeb19a2b4d70eb0ac9163e0aa07a4dd32005742fba /package/kernel
parent335117b87c7f983d19b6e6ed0e579722f45911d7 (diff)
downloadupstream-c3565fdf319a0ebd5e86357b9199629650ba4d5b.tar.gz
upstream-c3565fdf319a0ebd5e86357b9199629650ba4d5b.tar.bz2
upstream-c3565fdf319a0ebd5e86357b9199629650ba4d5b.zip
Port SPI-GPIO driver from 2.6.29-rc4
SVN-Revision: 14465
Diffstat (limited to 'package/kernel')
-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