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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c
index b1cef7152a..10a7651f7b 100644
--- a/firmware/target/arm/system-pp502x.c
+++ b/firmware/target/arm/system-pp502x.c
@@ -163,8 +163,7 @@ void __attribute__((interrupt("IRQ"))) irq_handler(void)
163 to extend the funtions to do alternate cache configurations. */ 163 to extend the funtions to do alternate cache configurations. */
164 164
165#ifndef BOOTLOADER 165#ifndef BOOTLOADER
166void flush_icache(void) ICODE_ATTR; 166void ICODE_ATTR cpucache_flush(void)
167void flush_icache(void)
168{ 167{
169 if (CACHE_CTL & CACHE_CTL_ENABLE) 168 if (CACHE_CTL & CACHE_CTL_ENABLE)
170 { 169 {
@@ -173,8 +172,7 @@ void flush_icache(void)
173 } 172 }
174} 173}
175 174
176void invalidate_icache(void) ICODE_ATTR; 175void ICODE_ATTR cpucache_invalidate(void)
177void invalidate_icache(void)
178{ 176{
179 if (CACHE_CTL & CACHE_CTL_ENABLE) 177 if (CACHE_CTL & CACHE_CTL_ENABLE)
180 { 178 {