summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/system-pp.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/system-pp.h')
-rw-r--r--firmware/target/arm/system-pp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/system-pp.h b/firmware/target/arm/system-pp.h
index 05fd8b6edf..47ef48218c 100644
--- a/firmware/target/arm/system-pp.h
+++ b/firmware/target/arm/system-pp.h
@@ -34,6 +34,8 @@ static inline void udelay(unsigned usecs)
unsigned int current_core(void);
+#if CONFIG_CPU != PP5002
+
#define HAVE_INVALIDATE_ICACHE
static inline void invalidate_icache(void)
{
@@ -47,3 +49,5 @@ static inline void flush_icache(void)
outl(inl(0xf000f044) | 0x2, 0xf000f044);
while ((CACHE_CTL & 0x8000) != 0);
}
+
+#endif /* CONFIG_CPU */