aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-03-08 19:21:55 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-03-08 19:21:55 +0000
commit58a11bcb40c33fde7e53e6c7be831da0540fd59a (patch)
tree1691730a15779178554b3dedf0dd0069ccbd257c
parentae1ed9b7f40518eb1f0af60f8d9f5f2f2894f6b7 (diff)
downloadupstream-58a11bcb40c33fde7e53e6c7be831da0540fd59a.tar.gz
upstream-58a11bcb40c33fde7e53e6c7be831da0540fd59a.tar.bz2
upstream-58a11bcb40c33fde7e53e6c7be831da0540fd59a.zip
package the bcm63xx-spi driver
SVN-Revision: 14794
-rw-r--r--package/kernel/modules/other.mk15
-rw-r--r--target/linux/brcm63xx/config-2.6.276
2 files changed, 15 insertions, 6 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 8499c461f9..4d657f118d 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -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
diff --git a/target/linux/brcm63xx/config-2.6.27 b/target/linux/brcm63xx/config-2.6.27
index 17fe7abc77..f2c312e989 100644
--- a/target/linux/brcm63xx/config-2.6.27
+++ b/target/linux/brcm63xx/config-2.6.27
@@ -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