diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-07-04 10:58:37 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-07-23 08:54:34 -0400 |
commit | 76ca4e1484f2ada3e455eafdcc89e3cba089a37a (patch) | |
tree | 723192277d452dd50abcb872ff5f2b328a69ea16 /arch/mips/bcm63xx | |
parent | 39ca476e3439bb135ff37ed1310469735ade06bf (diff) |
MIPS: BCM63xx: Make board setup code register the spi platform device
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: grant.likely@secretlab.ca
Cc: spi-devel-general@lists.sourceforge.net
Patchwork: https://patchwork.linux-mips.org/patch/3317/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/bcm63xx')
-rw-r--r-- | arch/mips/bcm63xx/boards/board_bcm963xx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/bcm63xx/boards/board_bcm963xx.c b/arch/mips/bcm63xx/boards/board_bcm963xx.c index 2f1773f3fb7a..ea65c0f0903c 100644 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <bcm63xx_dev_enet.h> | 25 | #include <bcm63xx_dev_enet.h> |
26 | #include <bcm63xx_dev_dsp.h> | 26 | #include <bcm63xx_dev_dsp.h> |
27 | #include <bcm63xx_dev_pcmcia.h> | 27 | #include <bcm63xx_dev_pcmcia.h> |
28 | #include <bcm63xx_dev_spi.h> | ||
28 | #include <board_bcm963xx.h> | 29 | #include <board_bcm963xx.h> |
29 | 30 | ||
30 | #define PFX "board_bcm963xx: " | 31 | #define PFX "board_bcm963xx: " |
@@ -890,6 +891,8 @@ int __init board_register_devices(void) | |||
890 | } | 891 | } |
891 | #endif | 892 | #endif |
892 | 893 | ||
894 | bcm63xx_spi_register(); | ||
895 | |||
893 | /* read base address of boot chip select (0) */ | 896 | /* read base address of boot chip select (0) */ |
894 | val = bcm_mpi_readl(MPI_CSBASE_REG(0)); | 897 | val = bcm_mpi_readl(MPI_CSBASE_REG(0)); |
895 | val &= MPI_CSBASE_BASE_MASK; | 898 | val &= MPI_CSBASE_BASE_MASK; |