Here is LVM support for OpenWRT. It introduces 3 new packages:
[openwrt.git] / package / kernel / modules / spi.mk
1 #
2 # Copyright (C) 2006-2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 SPI_MENU:=SPI Support
9
10 define KernelPackage/mmc-spi
11 SUBMENU:=$(SPI_MENU)
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 \
15 CONFIG_SPI=y \
16 CONFIG_SPI_MASTER=y
17 FILES:=$(LINUX_DIR)/drivers/mmc/host/mmc_spi.$(LINUX_KMOD_SUFFIX)
18 AUTOLOAD:=$(call AutoLoad,90,mmc_spi)
19 endef
20
21 define KernelPackage/mmc-spi/description
22 Kernel support for MMC/SD over SPI
23 endef
24
25 $(eval $(call KernelPackage,mmc-spi))
26
27
28 define KernelPackage/spi-bitbang
29 SUBMENU:=$(SPI_MENU)
30 TITLE:=Serial Peripheral Interface bitbanging library
31 DEPENDS:=@LINUX_2_6
32 KCONFIG:=CONFIG_SPI_BITBANG \
33 CONFIG_SPI=y \
34 CONFIG_SPI_MASTER=y
35 FILES:=$(LINUX_DIR)/drivers/spi/spi_bitbang.$(LINUX_KMOD_SUFFIX)
36 AUTOLOAD:=$(call AutoLoad,91,spi_bitbang)
37 endef
38
39 define KernelPackage/spi-bitbang/description
40 This package contains the SPI bitbanging library
41 endef
42
43 $(eval $(call KernelPackage,spi-bitbang))
44
45
46 define KernelPackage/spi-gpio-old
47 SUBMENU:=$(SPI_MENU)
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)
53 endef
54
55 define KernelPackage/spi-gpio-old/description
56 This package contains the GPIO based bitbanging SPI controller driver
57 endef
58
59 $(eval $(call KernelPackage,spi-gpio-old))
60
61 define KernelPackage/spi-gpio
62 SUBMENU:=$(SPI_MENU)
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)
68 endef
69
70 define KernelPackage/spi-gpio/description
71 This package contains the GPIO-based bitbanging SPI Master
72 endef
73
74 $(eval $(call KernelPackage,spi-gpio))
75
76 define KernelPackage/spi-dev
77 SUBMENU:=$(SPI_MENU)
78 TITLE:=User mode SPI device driver
79 DEPENDS:=@LINUX_2_6
80 KCONFIG:=CONFIG_SPI_SPIDEV \
81 CONFIG_SPI=y \
82 CONFIG_SPI_MASTER=y
83 FILES:=$(LINUX_DIR)/drivers/spi/spidev.$(LINUX_KMOD_SUFFIX)
84 AUTOLOAD:=$(call AutoLoad,93,spidev)
85 endef
86
87 define KernelPackage/spi-dev/description
88 This package contains the user mode SPI device driver
89 endef
90
91 $(eval $(call KernelPackage,spi-dev))
92
93 define KernelPackage/bcm63xx-spi
94 SUBMENU:=$(SPI_MENU)
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)
100 endef
101
102 define KernelPackage/bcm63xx-spi/description
103 This package contains the Broadcom BCM63xx SPI Master driver
104 endef
105
106 $(eval $(call KernelPackage,bcm63xx-spi))
107
108
109 define KernelPackage/spi-vsc7385
110 SUBMENU:=$(SPI_MENU)
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)
116 endef
117
118 define KernelPackage/spi-vsc7385/description
119 This package contains the SPI driver for the Vitesse VSC7385 ethernet switch.
120 endef
121
122 $(eval $(call KernelPackage,spi-vsc7385))
This page took 0.046896 seconds and 5 git commands to generate.