aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm63xx/clk.c
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-03-21 10:03:18 -0400
committerRalf Baechle <ralf@linux-mips.org>2013-05-07 19:19:03 -0400
commit08a41d1206bb342c2f0a0aae25ca836658866268 (patch)
treeda76d917249f02f77fcd78ee8213f995d43139e2 /arch/mips/bcm63xx/clk.c
parent2c8aaf71b0a4738ae8cb70d9367089bdb892aea3 (diff)
MIPS: BCM63XX: enable SPI controller for BCM6362
The SPI controller shares the same register layout as the 6358 one. Signed-off-by: Jonas Gorski <jogo@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/5010/ Acked-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/bcm63xx/clk.c')
-rw-r--r--arch/mips/bcm63xx/clk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/bcm63xx/clk.c b/arch/mips/bcm63xx/clk.c
index b9e948d59430..e357d55818ab 100644
--- a/arch/mips/bcm63xx/clk.c
+++ b/arch/mips/bcm63xx/clk.c
@@ -196,6 +196,8 @@ static void spi_set(struct clk *clk, int enable)
196 mask = CKCTL_6348_SPI_EN; 196 mask = CKCTL_6348_SPI_EN;
197 else if (BCMCPU_IS_6358()) 197 else if (BCMCPU_IS_6358())
198 mask = CKCTL_6358_SPI_EN; 198 mask = CKCTL_6358_SPI_EN;
199 else if (BCMCPU_IS_6362())
200 mask = CKCTL_6362_SPI_EN;
199 else 201 else
200 /* BCMCPU_IS_6368 */ 202 /* BCMCPU_IS_6368 */
201 mask = CKCTL_6368_SPI_EN; 203 mask = CKCTL_6368_SPI_EN;