path: root/arch/m68k/include/asm/m528xsim.h
diff options
authorGreg Ungerer <gerg@uclinux.org>2011-03-06 00:54:36 +1000
committerGreg Ungerer <gerg@uclinux.org>2011-03-15 21:01:54 +1000
commitbabc08b7e953cd23e10d175d546309dedadaabea (patch)
treec07f8453f667c6f83770048d06523f8ef9a9205b /arch/m68k/include/asm/m528xsim.h
parenta0ba4332a2cb110d6ef7695e64887396ab7d09d6 (diff)
m68knommu: move ColdFire DMA register addresses to per-cpu headers
The base addresses of the ColdFire DMA unit registers belong with all the other address definitions in the per-cpu headers. The current definitions assume they are relative to an MBAR register. Not all ColdFire CPUs have an MBAR register. A clean address define can only be acheived in the per-cpu headers along with all the other chips peripheral base addresses. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/include/asm/m528xsim.h')
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/m528xsim.h b/arch/m68k/include/asm/m528xsim.h
index d7c92419f2b5..87c0cce59057 100644
--- a/arch/m68k/include/asm/m528xsim.h
+++ b/arch/m68k/include/asm/m528xsim.h
@@ -47,6 +47,14 @@
#define MCFSIM_DMR1 0x54 /* SDRAM address mask 1 */
+ * DMA unit base addresses.
+ */
+#define MCFDMA_BASE0 (MCF_IPSBAR + 0x00000100)
+#define MCFDMA_BASE1 (MCF_IPSBAR + 0x00000140)
+#define MCFDMA_BASE2 (MCF_IPSBAR + 0x00000180)
+#define MCFDMA_BASE3 (MCF_IPSBAR + 0x000001C0)
* UART module.
#define MCFUART_BASE1 (MCF_IPSBAR + 0x00000200)