aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-03-08 12:18:26 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-03-08 12:18:26 +0000
commitbf7f2939c26e7a495d077eb9aa26ebaedf892f7a (patch)
treecebce4d1c921d1e3ce5048041c8b5b77b3ec7a01 /target
parent1e92d0355d3d14bb3a930e9b0e1d7e246f5d8aa5 (diff)
downloadupstream-bf7f2939c26e7a495d077eb9aa26ebaedf892f7a.tar.gz
upstream-bf7f2939c26e7a495d077eb9aa26ebaedf892f7a.tar.bz2
upstream-bf7f2939c26e7a495d077eb9aa26ebaedf892f7a.zip
compile and register SPI controller device
SVN-Revision: 14789
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm63xx/files/arch/mips/bcm63xx/Makefile1
-rw-r--r--target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/files/arch/mips/bcm63xx/Makefile b/target/linux/brcm63xx/files/arch/mips/bcm63xx/Makefile
index 4f2423c929..c1363895a1 100644
--- a/target/linux/brcm63xx/files/arch/mips/bcm63xx/Makefile
+++ b/target/linux/brcm63xx/files/arch/mips/bcm63xx/Makefile
@@ -5,6 +5,7 @@ obj-y += dev-usb-ohci.o
obj-y += dev-usb-ehci.o
obj-y += dev-enet.o
obj-y += dev-wdt.o
+obj-y += dev-spi.o
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
obj-y += boards/
diff --git a/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c b/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c
index 4323ee2f67..56da94b8c2 100644
--- a/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -27,6 +27,7 @@
#include <bcm63xx_dev_pcmcia.h>
#include <bcm63xx_dev_usb_ohci.h>
#include <bcm63xx_dev_usb_ehci.h>
+#include <bcm63xx_dev_spi.h>
#include <board_bcm963xx.h>
#define PFX "board_bcm963xx: "
@@ -482,6 +483,7 @@ int __init board_register_devices(void)
bcm63xx_uart_register();
bcm63xx_wdt_register();
+ bcm63xx_spi_register();
if (board.has_pccard)
bcm63xx_pcmcia_register();