From e7684c5cf37eeee423e6bcab2145ec88e5a3c69a Mon Sep 17 00:00:00 2001 From: Greg Ungerer Date: Sun, 25 May 2003 07:36:45 -0700 Subject: [PATCH] add support for the DMA of the ColdFire 5282 Add DMA base addresses for the ColdFire 5282 CPU. --- include/asm-m68knommu/mcfdma.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/asm-m68knommu/mcfdma.h b/include/asm-m68knommu/mcfdma.h index 8cb3727e1b51..98fadce0a6e9 100644 --- a/include/asm-m68knommu/mcfdma.h +++ b/include/asm-m68knommu/mcfdma.h @@ -21,6 +21,12 @@ #define MCFDMA_BASE1 0x240 /* Base address of DMA 1 */ #elif defined(CONFIG_M5272) #define MCFDMA_BASE0 0x0e0 /* Base address of DMA 0 */ +#elif defined(CONFIG_M5282) +/* These are relative to the IPSBAR, not MBAR */ +#define MCFDMA_BASE0 0x100 /* Base address of DMA 0 */ +#define MCFDMA_BASE1 0x140 /* Base address of DMA 1 */ +#define MCFDMA_BASE2 0x180 /* Base address of DMA 2 */ +#define MCFDMA_BASE3 0x1C0 /* Base address of DMA 3 */ #elif defined(CONFIG_M5249) || defined(CONFIG_M5307) || defined(CONFIG_M5407) #define MCFDMA_BASE0 0x300 /* Base address of DMA 0 */ #define MCFDMA_BASE1 0x340 /* Base address of DMA 1 */ -- cgit v1.2.3