summaryrefslogtreecommitdiff
path: root/firmware/target/arm/system-pp502x.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/system-pp502x.c')
-rw-r--r--firmware/target/arm/system-pp502x.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c
index 0422ea7d9c..08c2719aef 100644
--- a/firmware/target/arm/system-pp502x.c
+++ b/firmware/target/arm/system-pp502x.c
@@ -209,7 +209,7 @@ static void disable_all_interrupts(void)
209 GPIOL_INT_EN = 0; 209 GPIOL_INT_EN = 0;
210} 210}
211 211
212void ICODE_ATTR cpucache_commit(void) 212void ICODE_ATTR commit_dcache(void)
213{ 213{
214 if (CACHE_CTL & CACHE_CTL_ENABLE) 214 if (CACHE_CTL & CACHE_CTL_ENABLE)
215 { 215 {
@@ -218,9 +218,8 @@ void ICODE_ATTR cpucache_commit(void)
218 nop; nop; nop; nop; 218 nop; nop; nop; nop;
219 } 219 }
220} 220}
221void cpucache_flush(void) __attribute__((alias("cpucache_commit")));
222 221
223void ICODE_ATTR cpucache_commit_discard(void) 222void ICODE_ATTR commit_discard_idcache(void)
224{ 223{
225 if (CACHE_CTL & CACHE_CTL_ENABLE) 224 if (CACHE_CTL & CACHE_CTL_ENABLE)
226 { 225 {
@@ -229,7 +228,8 @@ void ICODE_ATTR cpucache_commit_discard(void)
229 nop; nop; nop; nop; 228 nop; nop; nop; nop;
230 } 229 }
231} 230}
232void cpucache_invalidate(void) __attribute__((alias("cpucache_commit_discard"))); 231
232void commit_discard_dcache(void) __attribute__((alias("commit_discard_idcache")));
233 233
234static void init_cache(void) 234static void init_cache(void)
235{ 235{