package the bcm63xx-spi driver
authorFlorian Fainelli <florian@openwrt.org>
Sun, 8 Mar 2009 19:21:55 +0000 (19:21 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 8 Mar 2009 19:21:55 +0000 (19:21 +0000)
SVN-Revision: 14794

package/kernel/modules/other.mk
target/linux/brcm63xx/config-2.6.27

index 8499c461f90c5569507cf07603a88e0881a2fa90..4d657f118dd203ea368f4bf7d1a6d73090d314f7 100644 (file)
@@ -752,6 +752,21 @@ endef
 
 $(eval $(call KernelPackage,spi-dev))
 
+define KernelPackage/bcm63xx-spi
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=Broadcom BCM63xx SPI driver
+  DEPENDS:=@TARGET_brcm63xx +kmod-spi-bitbang
+  KCONFIG:=CONFIG_SPI_BCM63XX
+  FILES:=$(LINUX_DIR)/drivers/spi/bcm63xx_spi.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,92,bcm63xx_spi)
+endef
+
+define KernelPackage/bcm63xx-spi/description
+  This package contains the Broadcom BCM63xx SPI Master driver
+endef
+
+$(eval $(call KernelPackage,bcm63xx-spi))
+
 define KernelPackage/cs5535-gpio
   SUBMENU:=$(OTHER_MENU)
   TITLE:=AMD CS5535/CS5536 GPIO driver
index 17fe7abc7707dca656abac0a6208c1085ae768f3..f2c312e989e4b9fa15695db1967bfbc7a61ef91f 100644 (file)
@@ -229,12 +229,6 @@ CONFIG_SERIAL_BCM63XX_CONSOLE=y
 # CONFIG_SIBYTE_SWARM is not set
 # CONFIG_SPARSEMEM_STATIC is not set
 # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
-CONFIG_SPI=y
-CONFIG_SPI_BCM63XX=m
-CONFIG_SPI_BITBANG=m
-# CONFIG_SPI_GPIO is not set
-CONFIG_SPI_MASTER=y
-CONFIG_SPI_SPIDEV=m
 CONFIG_SQUASHFS_EMBEDDED=y
 CONFIG_SQUASHFS_VMALLOC=y
 CONFIG_SSB=y