summaryrefslogtreecommitdiff
path: root/target/linux/brcm2708
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-10 19:43:02 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-10 19:43:02 +0000
commitd5164d46f633dc2801e6457f5d6fbbd783ca3312 (patch)
tree0c68820c16fc167ee9cdc7d8c2ebacc3cfb56082 /target/linux/brcm2708
parent902576c9a699a1809144d8a06b3a7d6783b1e287 (diff)
brcm2708: package the SPI master controller driver
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37234 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm2708')
-rw-r--r--target/linux/brcm2708/modules.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/brcm2708/modules.mk b/target/linux/brcm2708/modules.mk
index 082d77f99e..7005c3a9d1 100644
--- a/target/linux/brcm2708/modules.mk
+++ b/target/linux/brcm2708/modules.mk
@@ -38,3 +38,22 @@ define KernelPackage/random-bcm2708/description
endef
$(eval $(call KernelPackage,random-bcm2708))
+
+
+define KernelPackage/spi-bcm2708
+ SUBMENU:=$(SPI_MENU)
+ TITLE:=BCM2708 SPI controller driver (SPI0)
+ KCONFIG:=CONFIG_SPI_BCM2708 \
+ CONFIG_SPI=y \
+ CONFIG_SPI_MASTER=y \
+ CONFIG_BCM2708_SPIDEV=y
+ FILES:=$(LINUX_DIR)/drivers/spi/spi-bcm2708.ko
+ AUTOLOAD:=$(call AutoLoad,89,spi-bcm2708)
+ DEPENDS:=@TARGET_brcm2708
+endef
+
+define KernelPackage/spi-bcm2708/description
+ This package contains the Broadcom 2708 SPI master controller driver
+endef
+
+$(eval $(call KernelPackage,spi-bcm2708))