summaryrefslogtreecommitdiff
path: root/firmware/target/arm/rk27xx/system-rk27xx.c
diff options
context:
space:
mode:
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")));