summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2012-03-16 21:57:56 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2012-03-19 08:42:53 +0100
commit395290b7cd62806374ffbd04e28838b0dd9d5f57 (patch)
tree1bc870e970d53384e7907babaeb56c1513561c8b /firmware
parent0fdbbc3afd05cc0f2c0baa25456713fb19d202b2 (diff)
fix cache function name
Change-Id: Ica743c1ea4e8e5fd4e4c70c00b0dc1fd019268a2
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/s3c2440/dma-s3c2440.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/s3c2440/dma-s3c2440.c b/firmware/target/arm/s3c2440/dma-s3c2440.c
index d514f3650e..3cf1d05f1b 100644
--- a/firmware/target/arm/s3c2440/dma-s3c2440.c
+++ b/firmware/target/arm/s3c2440/dma-s3c2440.c
@@ -148,7 +148,7 @@ void dma_enable_channel(int channel, struct dma_request *request)
dma_state [channel].callback = request->callback;
/* Activate the channel */
- invalidate_dcache_range((void *)request->dest_addr, request->count * 4);
+ commit_discard_dcache_range((void *)request->dest_addr, request->count * 4);
dma_state [channel].status |= STATUS_CHANNEL_ACTIVE;
regs->dmasktrig = DMASKTRIG_ON;