diff options
Diffstat (limited to 'firmware/target/arm/system-pp502x.c')
-rw-r--r-- | firmware/target/arm/system-pp502x.c | 8 |
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 | ||
212 | void ICODE_ATTR cpucache_commit(void) | 212 | void 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 | } |
221 | void cpucache_flush(void) __attribute__((alias("cpucache_commit"))); | ||
222 | 221 | ||
223 | void ICODE_ATTR cpucache_commit_discard(void) | 222 | void 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 | } |
232 | void cpucache_invalidate(void) __attribute__((alias("cpucache_commit_discard"))); | 231 | |
232 | void commit_discard_dcache(void) __attribute__((alias("commit_discard_idcache"))); | ||
233 | 233 | ||
234 | static void init_cache(void) | 234 | static void init_cache(void) |
235 | { | 235 | { |