diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/as3525/dma-pl081.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/dma-pl081.c b/firmware/target/arm/as3525/dma-pl081.c index e0620dc688..43f6162e38 100644 --- a/firmware/target/arm/as3525/dma-pl081.c +++ b/firmware/target/arm/as3525/dma-pl081.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include "pl081.h" | 24 | #include "pl081.h" |
25 | #include "dma-target.h" | 25 | #include "dma-target.h" |
26 | #include "panic.h" | 26 | #include "panic.h" |
27 | #include "config.h" | ||
27 | 28 | ||
28 | static int dma_used = 0; | 29 | static int dma_used = 0; |
29 | static void (*dma_callback[2])(void); /* 2 channels */ | 30 | static void (*dma_callback[2])(void); /* 2 channels */ |
@@ -48,7 +49,9 @@ void dma_release(void) | |||
48 | 49 | ||
49 | void dma_init(void) | 50 | void dma_init(void) |
50 | { | 51 | { |
52 | #if CONFIG_CPU == AS3525 | ||
51 | DMAC_SYNC = 0xffff; /* disable synchronisation logic */ | 53 | DMAC_SYNC = 0xffff; /* disable synchronisation logic */ |
54 | #endif | ||
52 | VIC_INT_ENABLE = INTERRUPT_DMAC; | 55 | VIC_INT_ENABLE = INTERRUPT_DMAC; |
53 | } | 56 | } |
54 | 57 | ||