diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2009-04-22 11:40:31 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-06-17 06:06:25 -0400 |
commit | f48c8c958a2d39f13dace880d15a6e711aafe577 (patch) | |
tree | 0d0c6f4aebca09ce7279a59a25810e9d6e09dd85 /arch/mips/txx9/rbtx4927 | |
parent | ea76f0b3759283ec3cc06c86e266bf0fa6a981d2 (diff) |
MIPS: TXx9: Add DMAC support
Add platform support for DMAC of TXx9 SoCs.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/txx9/rbtx4927')
-rw-r--r-- | arch/mips/txx9/rbtx4927/setup.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/txx9/rbtx4927/setup.c b/arch/mips/txx9/rbtx4927/setup.c index 01129a9d50fa..332cdbc7fcef 100644 --- a/arch/mips/txx9/rbtx4927/setup.c +++ b/arch/mips/txx9/rbtx4927/setup.c | |||
@@ -337,6 +337,10 @@ static void __init rbtx4927_device_init(void) | |||
337 | rbtx4927_ne_init(); | 337 | rbtx4927_ne_init(); |
338 | tx4927_wdt_init(); | 338 | tx4927_wdt_init(); |
339 | rbtx4927_mtd_init(); | 339 | rbtx4927_mtd_init(); |
340 | if (TX4927_REV_PCODE() == 0x4927) | ||
341 | tx4927_dmac_init(2); | ||
342 | else | ||
343 | tx4938_dmac_init(0, 2); | ||
340 | txx9_iocled_init(RBTX4927_LED_ADDR - IO_BASE, -1, 3, 1, "green", NULL); | 344 | txx9_iocled_init(RBTX4927_LED_ADDR - IO_BASE, -1, 3, 1, "green", NULL); |
341 | rbtx4927_gpioled_init(); | 345 | rbtx4927_gpioled_init(); |
342 | } | 346 | } |