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