From 9e97fe261db0c03effd31865eea9f8759a4f2f16 Mon Sep 17 00:00:00 2001 From: mb Date: Tue, 10 Feb 2009 17:12:12 +0000 Subject: Port SPI-GPIO driver from 2.6.29-rc4 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14465 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'package') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 063096fe9..a75195a6b 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 -- cgit v1.2.3