2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 define KernelPackage
/bcm63xx-spi
10 TITLE
:=Broadcom BCM63xx SPI driver
11 DEPENDS
:=@TARGET_brcm63xx
+kmod-spi-bitbang
12 KCONFIG
:=CONFIG_SPI_BCM63XX
13 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,3.3)),1)
14 FILES
:=$(LINUX_DIR
)/drivers
/spi
/spi-bcm63xx.ko
15 AUTOLOAD
:=$(call AutoLoad
,92,spi-bcm63xx
)
17 FILES
:=$(LINUX_DIR
)/drivers
/spi
/bcm63xx_spi.ko
18 AUTOLOAD
:=$(call AutoLoad
,92,bcm63xx_spi
)
22 define KernelPackage
/bcm63xx-spi
/description
23 This package contains the Broadcom BCM63xx SPI Master driver
26 $(eval
$(call KernelPackage
,bcm63xx-spi
))
29 define KernelPackage
/pcmcia-bcm63xx
30 SUBMENU
:=$(PCMCIA_MENU
)
31 TITLE
:=Broadcom BCM63xx PCMCIA support
32 DEPENDS
:=@TARGET_brcm63xx
+kmod-pcmcia-rsrc
33 KCONFIG
:=CONFIG_PCMCIA_BCM63XX
34 FILES
:=$(LINUX_DIR
)/drivers
/pcmcia
/bcm63xx_pcmcia.ko
35 AUTOLOAD
:=$(call AutoLoad
,41,bcm63xx_pcmcia
)
38 define KernelPackage
/pcmcia-bcm63xx
/description
39 Kernel support for PCMCIA
/CardBus controller on the BCM63xx SoC
42 $(eval
$(call KernelPackage
,pcmcia-bcm63xx
))