aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/mmp2.c
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@marvell.com>2010-04-28 15:24:24 -0400
committerEric Miao <eric.y.miao@gmail.com>2010-05-11 11:25:05 -0400
commitf4557870834b15bcbe14a2fcd1a0338e9f9c89b5 (patch)
tree6907037e6ed6d385d5511ede2e683736a3baf9f2 /arch/arm/mach-mmp/mmp2.c
parent7f39403c56b01a8c023e8eb9ebe89007cdc4f4e6 (diff)
[ARM] mmp: add dma support to mmp2
Add DMA support in MMP2. Signed-off-by: Lei Wen <leiwen@marvell.com> Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-mmp/mmp2.c')
-rw-r--r--arch/arm/mach-mmp/mmp2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/mmp2.c b/arch/arm/mach-mmp/mmp2.c
index da5cd9d10807..7f5eb059bb01 100644
--- a/arch/arm/mach-mmp/mmp2.c
+++ b/arch/arm/mach-mmp/mmp2.c
@@ -22,6 +22,7 @@
22#include <mach/regs-apmu.h> 22#include <mach/regs-apmu.h>
23#include <mach/cputype.h> 23#include <mach/cputype.h>
24#include <mach/irqs.h> 24#include <mach/irqs.h>
25#include <mach/dma.h>
25#include <mach/mfp.h> 26#include <mach/mfp.h>
26#include <mach/gpio.h> 27#include <mach/gpio.h>
27#include <mach/devices.h> 28#include <mach/devices.h>
@@ -149,6 +150,7 @@ static int __init mmp2_init(void)
149#endif 150#endif
150 mfp_init_base(MFPR_VIRT_BASE); 151 mfp_init_base(MFPR_VIRT_BASE);
151 mfp_init_addr(mmp2_addr_map); 152 mfp_init_addr(mmp2_addr_map);
153 pxa_init_dma(IRQ_MMP2_DMA_RIQ, 16);
152 clkdev_add_table(ARRAY_AND_SIZE(mmp2_clkregs)); 154 clkdev_add_table(ARRAY_AND_SIZE(mmp2_clkregs));
153 } 155 }
154 156