summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-08 19:21:55 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-08 19:21:55 +0000
commit99dbef8a63c7f0a7e78b6518293e2aac9c40a2ed (patch)
tree1ca06c9e072d080a8a7850416963df2c835ba071
parentac74991e5e88789fe6d66bf3194525cd77ddaa4e (diff)
[brcm63xx] package the bcm63xx-spi driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14794 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 8499c461f..4d657f118 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 17fe7abc7..f2c312e98 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