2 # Copyright (C) 2006-2009 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
))
93 define KernelPackage
/bcm63xx-spi
95 TITLE
:=Broadcom BCM63xx SPI driver
96 DEPENDS
:=@TARGET_brcm63xx
+kmod-spi-bitbang
97 KCONFIG
:=CONFIG_SPI_BCM63XX
98 FILES
:=$(LINUX_DIR
)/drivers
/spi
/bcm63xx_spi.
$(LINUX_KMOD_SUFFIX
)
99 AUTOLOAD
:=$(call AutoLoad
,92,bcm63xx_spi
)
102 define KernelPackage
/bcm63xx-spi
/description
103 This package contains the Broadcom BCM63xx SPI Master driver
106 $(eval
$(call KernelPackage
,bcm63xx-spi
))
109 define KernelPackage
/spi-vsc7385
111 TITLE
:=Vitesse VSC7385 ethernet switch driver
112 DEPENDS
:=@TARGET_ar71xx
113 KCONFIG
:=CONFIG_SPI_VSC7385
114 FILES
:=$(LINUX_DIR
)/drivers
/spi
/spi_vsc7385.
$(LINUX_KMOD_SUFFIX
)
115 AUTOLOAD
:=$(call AutoLoad
,93,spi_vsc7385
)
118 define KernelPackage
/spi-vsc7385
/description
119 This package contains the SPI driver for the Vitesse VSC7385 ethernet switch.
122 $(eval
$(call KernelPackage
,spi-vsc7385
))