From 1b9dbb85324a9e179e2b332d70c9222657a253ac Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 4 Aug 2016 23:09:55 +0200 Subject: Revert "kernel: remove long obsolete gpio spi controller driver patch" This reverts commit 9e62a7668c4085563a907da51a08819c88d04f33. --- package/kernel/linux/modules/spi.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'package/kernel') 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 -- cgit v1.2.3