2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
10 define KernelPackage
/mmc-spi
12 TITLE
:=MMC
/SD over SPI Support
13 DEPENDS
:=@LINUX_2_6
+kmod-mmc
+kmod-crc-itu-t
+kmod-crc7
14 KCONFIG
:=CONFIG_MMC_SPI \
17 FILES
:=$(LINUX_DIR
)/drivers
/mmc
/host
/mmc_spi.
$(LINUX_KMOD_SUFFIX
)
18 AUTOLOAD
:=$(call AutoLoad
,90,mmc_spi
)
21 define KernelPackage
/mmc-spi
/description
22 Kernel support for MMC
/SD over SPI
25 $(eval
$(call KernelPackage
,mmc-spi
))
28 define KernelPackage
/spi-bitbang
30 TITLE
:=Serial Peripheral Interface bitbanging library
32 KCONFIG
:=CONFIG_SPI_BITBANG \
35 FILES
:=$(LINUX_DIR
)/drivers
/spi
/spi_bitbang.
$(LINUX_KMOD_SUFFIX
)
36 AUTOLOAD
:=$(call AutoLoad
,91,spi_bitbang
)
39 define KernelPackage
/spi-bitbang
/description
40 This package contains the SPI bitbanging library
43 $(eval
$(call KernelPackage
,spi-bitbang
))
46 define KernelPackage
/spi-gpio-old
48 TITLE
:=Old GPIO based bitbanging SPI controller
(DEPRECATED
)
49 DEPENDS
:=@GPIO_SUPPORT
+kmod-spi-bitbang
50 KCONFIG
:=CONFIG_SPI_GPIO_OLD
51 FILES
:=$(LINUX_DIR
)/drivers
/spi
/spi_gpio_old.
$(LINUX_KMOD_SUFFIX
)
52 AUTOLOAD
:=$(call AutoLoad
,92,spi_gpio_old
)
55 define KernelPackage
/spi-gpio-old
/description
56 This package contains the GPIO based bitbanging SPI controller driver
59 $(eval
$(call KernelPackage
,spi-gpio-old
))
61 define KernelPackage
/spi-gpio
63 TITLE
:=GPIO-based bitbanging SPI Master
64 DEPENDS
:=@GPIO_SUPPORT
+kmod-spi-bitbang
65 KCONFIG
:=CONFIG_SPI_GPIO
66 FILES
:=$(LINUX_DIR
)/drivers
/spi
/spi_gpio.
$(LINUX_KMOD_SUFFIX
)
67 AUTOLOAD
:=$(call AutoLoad
,92,spi_gpio
)
70 define KernelPackage
/spi-gpio
/description
71 This package contains the GPIO-based bitbanging SPI Master
74 $(eval
$(call KernelPackage
,spi-gpio
))
76 define KernelPackage
/spi-dev
78 TITLE
:=User mode SPI device driver
80 KCONFIG
:=CONFIG_SPI_SPIDEV \
83 FILES
:=$(LINUX_DIR
)/drivers
/spi
/spidev.
$(LINUX_KMOD_SUFFIX
)
84 AUTOLOAD
:=$(call AutoLoad
,93,spidev
)
87 define KernelPackage
/spi-dev
/description
88 This package contains the user mode SPI device driver
91 $(eval
$(call KernelPackage
,spi-dev
))
94 define KernelPackage
/spi-vsc7385
96 TITLE
:=Vitesse VSC7385 ethernet switch driver
97 DEPENDS
:=@TARGET_ar71xx
98 KCONFIG
:=CONFIG_SPI_VSC7385
99 FILES
:=$(LINUX_DIR
)/drivers
/spi
/spi_vsc7385.
$(LINUX_KMOD_SUFFIX
)
100 AUTOLOAD
:=$(call AutoLoad
,93,spi_vsc7385
)
103 define KernelPackage
/spi-vsc7385
/description
104 This package contains the SPI driver for the Vitesse VSC7385 ethernet switch.
107 $(eval
$(call KernelPackage
,spi-vsc7385
))