diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-09-08 17:16:52 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-09-08 17:16:52 +0000 |
commit | f09499f70ff7183415073af61174b0ea2915373f (patch) | |
tree | df5665230b9b11d0247da0f8a054aa448907a55c /firmware/target/arm/as3525/sd-as3525.c | |
parent | dd5dd8cfd9d3e98b87d64e34f449fff2df30fe7f (diff) |
Change sd-as3525*.c to the new cache coherency function names.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28046 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sd-as3525.c')
-rw-r--r-- | firmware/target/arm/as3525/sd-as3525.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525.c b/firmware/target/arm/as3525/sd-as3525.c index 115f2f1f0d..0dc29c8aa5 100644 --- a/firmware/target/arm/as3525/sd-as3525.c +++ b/firmware/target/arm/as3525/sd-as3525.c @@ -736,11 +736,11 @@ static int sd_transfer_sectors(IF_MD2(int drive,) unsigned long start, dma_retain(); if(aligned) - { + { /* direct transfer, indirect is always uncached */ if(write) - clean_dcache_range(buf, count * SECTOR_SIZE); + commit_dcache_range(buf, count * SECTOR_SIZE); else - dump_dcache_range(buf, count * SECTOR_SIZE); + discard_dcache_range(buf, count * SECTOR_SIZE); } while(count) |