diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2011-07-22 19:20:14 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-08 14:29:32 -0400 |
commit | c1d1c5d4213ee96e054c4d195117368972a4c01f (patch) | |
tree | 4ce75f49f1b46835ab613bd85084b9ce863c5853 /arch/mips/bcm47xx/time.c | |
parent | a656ffcbc7a98a80d2136ae6bbdd8ae2eb48c78a (diff) |
bcm47xx: add support for bcma bus
This patch add support for the bcma bus. Broadcom uses only Mips 74K
CPUs on the new SoC and on the old ons using ssb bus there are no Mips
74K CPUs.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'arch/mips/bcm47xx/time.c')
-rw-r--r-- | arch/mips/bcm47xx/time.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/bcm47xx/time.c b/arch/mips/bcm47xx/time.c index 03dfc65b1b60..536374dcba78 100644 --- a/arch/mips/bcm47xx/time.c +++ b/arch/mips/bcm47xx/time.c | |||
@@ -45,6 +45,11 @@ void __init plat_time_init(void) | |||
45 | hz = ssb_cpu_clock(&bcm47xx_bus.ssb.mipscore) / 2; | 45 | hz = ssb_cpu_clock(&bcm47xx_bus.ssb.mipscore) / 2; |
46 | break; | 46 | break; |
47 | #endif | 47 | #endif |
48 | #ifdef CONFIG_BCM47XX_BCMA | ||
49 | case BCM47XX_BUS_TYPE_BCMA: | ||
50 | hz = bcma_cpu_clock(&bcm47xx_bus.bcma.bus.drv_mips) / 2; | ||
51 | break; | ||
52 | #endif | ||
48 | } | 53 | } |
49 | 54 | ||
50 | if (!hz) | 55 | if (!hz) |