sh: Add SH7724 DMAC support.
authorKuninori Morimoto <morimoto.kuninori@renesas.com>
Mon, 3 Aug 2009 04:52:24 +0000 (04:52 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 4 Aug 2009 05:41:49 +0000 (14:41 +0900)
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/dma-sh.h
arch/sh/include/cpu-sh4/cpu/dma-sh4a.h

index 0c8f8e14622a73c8eb99f0ddc7e0a816670f3098..68a5f4cb0343eeffa2750543a87f7ea3bbd11d0d 100644 (file)
@@ -16,6 +16,7 @@
 
 /* DMAOR contorl: The DMAOR access size is different by CPU.*/
 #if defined(CONFIG_CPU_SUBTYPE_SH7723) || \
+    defined(CONFIG_CPU_SUBTYPE_SH7724) || \
     defined(CONFIG_CPU_SUBTYPE_SH7780) || \
     defined(CONFIG_CPU_SUBTYPE_SH7785)
 #define dmaor_read_reg(n) \
index 0ed5178fed69bc46ec722e6ee1fa1417652477b6..f0886bc880e029d795dff5393b0f0c4d82a071cc 100644 (file)
@@ -16,7 +16,8 @@
 #define DMAE0_IRQ      38
 #define SH_DMAC_BASE0  0xFF608020
 #define SH_DMARS_BASE  0xFF609000
-#elif defined(CONFIG_CPU_SUBTYPE_SH7723)
+#elif defined(CONFIG_CPU_SUBTYPE_SH7723) || \
+      defined(CONFIG_CPU_SUBTYPE_SH7724)
 #define DMTE0_IRQ      48      /* DMAC0A*/
 #define DMTE4_IRQ      40      /* DMAC0B */
 #define DMTE6_IRQ      42