summaryrefslogtreecommitdiff
path: root/firmware/target/arm/rk27xx/system-rk27xx.c
diff options
context:
space:
mode:
authorAndrew Ryabinin <ryabinin.a.a@gmail.com>2012-01-03 15:01:16 +0000
committerAndrew Ryabinin <ryabinin.a.a@gmail.com>2012-01-03 15:01:16 +0000
commit40786042df12b2297161ca986b431d64a5df56db (patch)
treead69ccee1b549d660ce0370bd6381976de86de1d /firmware/target/arm/rk27xx/system-rk27xx.c
parent30c4efcd16ad00f4ee108856f99967df80be1caf (diff)
downloadrockbox-40786042df12b2297161ca986b431d64a5df56db.tar.gz
rockbox-40786042df12b2297161ca986b431d64a5df56db.zip
rk27xx: Fix cache broken in r31339. Remove deprecated aliases.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31537 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/rk27xx/system-rk27xx.c')
-rw-r--r--firmware/target/arm/rk27xx/system-rk27xx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/target/arm/rk27xx/system-rk27xx.c b/firmware/target/arm/rk27xx/system-rk27xx.c
index 3349f9d0f1..ac423955d6 100644
--- a/firmware/target/arm/rk27xx/system-rk27xx.c
+++ b/firmware/target/arm/rk27xx/system-rk27xx.c
@@ -177,6 +177,7 @@ void commit_discard_idcache(void)
177 /* wait for invalidate process to complete */ 177 /* wait for invalidate process to complete */
178 while (CACHEOP & 0x03); 178 while (CACHEOP & 0x03);
179} 179}
180void commit_discard_dcache (void) __attribute__((alias("commit_discard_idcache")));
180 181
181void commit_discard_dcache_range (const void *base, unsigned int size) 182void commit_discard_dcache_range (const void *base, unsigned int size)
182{ 183{
@@ -193,6 +194,3 @@ void commit_discard_dcache_range (const void *base, unsigned int size)
193 opcode += 32; 194 opcode += 32;
194 } 195 }
195} 196}
196
197void commit_dcache_range(const void *base, unsigned int size)
198 __attribute__((alias("commit_discard_dcache_range")));