Commit 0c601231 authored by Paul Mundt's avatar Paul Mundt

sh: Move sh4a dma header from cpu-sh4 to cpu-sh4a.

cpu-sh4a headers take priority over cpu-sh4 ones by virtue of the build
system, there's no need to try and mingle sh4a stuff in cpu-sh4.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent d8fd35fc
#ifndef __ASM_CPU_SH4_DMA_H #ifndef __ASM_CPU_SH4_DMA_H
#define __ASM_CPU_SH4_DMA_H #define __ASM_CPU_SH4_DMA_H
/* SH7751/7760/7780 DMA IRQ sources */
#ifdef CONFIG_CPU_SH4A
#include <cpu/dma-sh4a.h>
#else /* CONFIG_CPU_SH4A */
#include <linux/sh_intc.h> #include <linux/sh_intc.h>
/* /*
...@@ -21,6 +13,7 @@ ...@@ -21,6 +13,7 @@
#define SH_DMAC_BASE0 0xffa00000 #define SH_DMAC_BASE0 0xffa00000
#define SH_DMAC_BASE1 0xffa00070 #define SH_DMAC_BASE1 0xffa00070
/* Definitions for the SuperH DMAC */ /* Definitions for the SuperH DMAC */
#define TM_BURST 0x00000080 #define TM_BURST 0x00000080
#define TS_8 0x00000010 #define TS_8 0x00000010
...@@ -30,6 +23,4 @@ ...@@ -30,6 +23,4 @@
#define DMAOR_COD 0x00000008 #define DMAOR_COD 0x00000008
#endif
#endif /* __ASM_CPU_SH4_DMA_H */ #endif /* __ASM_CPU_SH4_DMA_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment