diff options
Diffstat (limited to 'arch/arm/mach-omap1/dma.c')
-rw-r--r-- | arch/arm/mach-omap1/dma.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/mach-omap1/dma.c b/arch/arm/mach-omap1/dma.c index 29007fef84cd..e190611e4b46 100644 --- a/arch/arm/mach-omap1/dma.c +++ b/arch/arm/mach-omap1/dma.c | |||
@@ -25,11 +25,13 @@ | |||
25 | #include <linux/device.h> | 25 | #include <linux/device.h> |
26 | #include <linux/io.h> | 26 | #include <linux/io.h> |
27 | 27 | ||
28 | #include <plat/dma.h> | 28 | #include <linux/omap-dma.h> |
29 | #include <plat/tc.h> | 29 | #include <mach/tc.h> |
30 | 30 | ||
31 | #include <mach/irqs.h> | 31 | #include <mach/irqs.h> |
32 | 32 | ||
33 | #include "dma.h" | ||
34 | |||
33 | #define OMAP1_DMA_BASE (0xfffed800) | 35 | #define OMAP1_DMA_BASE (0xfffed800) |
34 | #define OMAP1_LOGICAL_DMA_CH_COUNT 17 | 36 | #define OMAP1_LOGICAL_DMA_CH_COUNT 17 |
35 | #define OMAP1_DMA_STRIDE 0x40 | 37 | #define OMAP1_DMA_STRIDE 0x40 |
@@ -319,6 +321,9 @@ static int __init omap1_system_dma_init(void) | |||
319 | d->dev_caps = ENABLE_1510_MODE; | 321 | d->dev_caps = ENABLE_1510_MODE; |
320 | enable_1510_mode = d->dev_caps & ENABLE_1510_MODE; | 322 | enable_1510_mode = d->dev_caps & ENABLE_1510_MODE; |
321 | 323 | ||
324 | if (cpu_is_omap16xx()) | ||
325 | d->dev_caps = ENABLE_16XX_MODE; | ||
326 | |||
322 | d->dev_caps |= SRC_PORT; | 327 | d->dev_caps |= SRC_PORT; |
323 | d->dev_caps |= DST_PORT; | 328 | d->dev_caps |= DST_PORT; |
324 | d->dev_caps |= SRC_INDEX; | 329 | d->dev_caps |= SRC_INDEX; |