X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Flynxis%2Fomap.git;a=blobdiff_plain;f=package%2Fkernel%2Flinux%2Fmodules%2Fspi.mk;h=1c2a789fedc153aedfb81daab93f5c76a4a01929;hp=b2999a84f5be2ac26d72410683e17f1a99e4be71;hb=96815fe0a2c1a7395d0e5aceba4a58e85ec32b41;hpb=9e62a7668c4085563a907da51a08819c88d04f33 diff --git a/package/kernel/linux/modules/spi.mk b/package/kernel/linux/modules/spi.mk index b2999a84f5..1c2a789fed 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 @@ -73,20 +89,3 @@ define KernelPackage/spi-dev/description endef $(eval $(call KernelPackage,spi-dev)) - -define KernelPackage/spi-omap-24xx - SUBMENU:=$(SPI_MENU) - TITLE:=SPI omap 24xx - DEPENDS:=@(TARGET_omap24xx||TARGET_omap) - KCONFIG:=CONFIG_SPI_OMAP24XX \ - CONFIG_SPI=y \ - CONFIG_SPI_MASTER=y - FILES:=$(LINUX_DIR)/drivers/spi/spi-omap2-mcspi.ko - AUTOLOAD:=$(call AutoProbe,spi-omap2-mcspi) -endef - -define KernelPackage/spi-dev/description - This package contains the user mode SPI device driver -endef - -$(eval $(call KernelPackage,spi-omap-24xx))