[brcm63xx] add support for 'MAGIC' bcm6348-based board
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / modules.mk
1 #
2 # Copyright (C) 2010 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 define KernelPackage/bcm63xx-spi
9 SUBMENU:=$(SPI_MENU)
10 TITLE:=Broadcom BCM63xx SPI driver
11 DEPENDS:=@TARGET_brcm63xx +kmod-spi-bitbang
12 KCONFIG:=CONFIG_SPI_BCM63XX
13 FILES:=$(LINUX_DIR)/drivers/spi/bcm63xx_spi.ko
14 AUTOLOAD:=$(call AutoLoad,92,bcm63xx_spi)
15 endef
16
17 define KernelPackage/bcm63xx-spi/description
18 This package contains the Broadcom BCM63xx SPI Master driver
19 endef
20
21 $(eval $(call KernelPackage,bcm63xx-spi))
22
23
24 define KernelPackage/pcmcia-bcm63xx
25 SUBMENU:=$(PCMCIA_MENU)
26 TITLE:=Broadcom BCM63xx PCMCIA support
27 DEPENDS:=@TARGET_brcm63xx kmod-pcmcia-core
28 KCONFIG:=CONFIG_PCMCIA_BCM63XX
29 FILES:=$(LINUX_DIR)/drivers/pcmcia/bcm63xx_pcmcia.ko
30 AUTOLOAD:=$(call AutoLoad,41,bcm63xx_pcmcia)
31 endef
32
33 define KernelPackage/pcmcia-bcm63xx/description
34 Kernel support for PCMCIA/CardBus controller on the BCM63xx SoC
35 endef
36
37 $(eval $(call KernelPackage,pcmcia-bcm63xx))