aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-08-04 23:09:55 +0200
committerFelix Fietkau <nbd@nbd.name>2016-08-04 23:10:15 +0200
commit1b9dbb85324a9e179e2b332d70c9222657a253ac (patch)
treeaed4509bf0dcecd8323288957761d9d18006950a /package/kernel/linux
parent61751155418ffc0453f510398c53b1c00fc1bc8e (diff)
downloadupstream-1b9dbb85324a9e179e2b332d70c9222657a253ac.tar.gz
upstream-1b9dbb85324a9e179e2b332d70c9222657a253ac.tar.bz2
upstream-1b9dbb85324a9e179e2b332d70c9222657a253ac.zip
Revert "kernel: remove long obsolete gpio spi controller driver patch"
This reverts commit 9e62a7668c4085563a907da51a08819c88d04f33.
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/spi.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/spi.mk b/package/kernel/linux/modules/spi.mk
index b2999a84f5..b16e26ef04 100644
--- a/package/kernel/linux/modules/spi.mk
+++ b/package/kernel/linux/modules/spi.mk
@@ -43,6 +43,22 @@ endef
$(eval $(call KernelPackage,spi-bitbang))
+define KernelPackage/spi-gpio-old
+ SUBMENU:=$(SPI_MENU)
+ TITLE:=Old GPIO based bitbanging SPI controller (DEPRECATED)
+ DEPENDS:=@GPIO_SUPPORT +kmod-spi-bitbang
+ KCONFIG:=CONFIG_SPI_GPIO_OLD
+ FILES:=$(LINUX_DIR)/drivers/spi/spi_gpio_old.ko
+ AUTOLOAD:=$(call AutoProbe,spi_gpio_old)
+endef
+
+define KernelPackage/spi-gpio-old/description
+ This package contains the GPIO based bitbanging SPI controller driver
+endef
+
+$(eval $(call KernelPackage,spi-gpio-old))
+
+
define KernelPackage/spi-gpio
SUBMENU:=$(SPI_MENU)
TITLE:=GPIO-based bitbanging SPI Master