summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index 7695683..ff5ea12 100644
--- a/src/common.h
+++ b/src/common.h
@@ -397,7 +397,7 @@ dma_copy(void *dst, const void *src, u32 size, int channel) {
397// Fill the dst location with the word set at src. 397// Fill the dst location with the word set at src.
398inline void 398inline void
399dma_fill(void *dst, const void *src, u32 size, int channel) { 399dma_fill(void *dst, const void *src, u32 size, int channel) {
400 dma_transfer_fill(dst, src, size / 4, channel, DMA_CHUNK_32 | DMA_ENABLE); 400 dma_transfer_fill(dst, (volatile u32)src, size / 4, channel, DMA_CHUNK_32 | DMA_ENABLE);
401} 401}
402 402
403// 403//