[ARM] mmp: add dma support to mmp2

Previous thread: [ARM] pxa: add basic support for Voipac PXA270 SBC by Linux Kernel Mailing List on Wednesday, May 19, 2010 - 1:02 pm. (1 message)

Next thread: ARM: Integrator: allow IO_ADDRESS() to be used for register addresses by Linux Kernel Mailing List on Wednesday, May 19, 2010 - 1:01 pm. (1 message)
From: Linux Kernel Mailing List
Date: Wednesday, May 19, 2010 - 1:02 pm

Gitweb:     http://git.kernel.org/linus/f4557870834b15bcbe14a2fcd1a0338e9f9c89b5
Commit:     f4557870834b15bcbe14a2fcd1a0338e9f9c89b5
Parent:     7f39403c56b01a8c023e8eb9ebe89007cdc4f4e6
Author:     Haojian Zhuang <haojian.zhuang@marvell.com>
AuthorDate: Wed Apr 28 15:24:24 2010 -0400
Committer:  Eric Miao <eric.y.miao@gmail.com>
CommitDate: Tue May 11 17:25:05 2010 +0200

    [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>
---
 arch/arm/mach-mmp/mmp2.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-mmp/mmp2.c b/arch/arm/mach-mmp/mmp2.c
index da5cd9d..7f5eb05 100644
--- a/arch/arm/mach-mmp/mmp2.c
+++ b/arch/arm/mach-mmp/mmp2.c
@@ -22,6 +22,7 @@
 #include <mach/regs-apmu.h>
 #include <mach/cputype.h>
 #include <mach/irqs.h>
+#include <mach/dma.h>
 #include <mach/mfp.h>
 #include <mach/gpio.h>
 #include <mach/devices.h>
@@ -149,6 +150,7 @@ static int __init mmp2_init(void)
 #endif
 		mfp_init_base(MFPR_VIRT_BASE);
 		mfp_init_addr(mmp2_addr_map);
+		pxa_init_dma(IRQ_MMP2_DMA_RIQ, 16);
 		clkdev_add_table(ARRAY_AND_SIZE(mmp2_clkregs));
 	}
 
--

Previous thread: [ARM] pxa: add basic support for Voipac PXA270 SBC by Linux Kernel Mailing List on Wednesday, May 19, 2010 - 1:02 pm. (1 message)

Next thread: ARM: Integrator: allow IO_ADDRESS() to be used for register addresses by Linux Kernel Mailing List on Wednesday, May 19, 2010 - 1:01 pm. (1 message)