diff options
Diffstat (limited to 'firmware/target/arm/system-pp.h')
-rw-r--r-- | firmware/target/arm/system-pp.h | 4 |
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) | |||
34 | 34 | ||
35 | unsigned int current_core(void); | 35 | unsigned int current_core(void); |
36 | 36 | ||
37 | #if CONFIG_CPU != PP5002 | ||
38 | |||
37 | #define HAVE_INVALIDATE_ICACHE | 39 | #define HAVE_INVALIDATE_ICACHE |
38 | static inline void invalidate_icache(void) | 40 | static inline void invalidate_icache(void) |
39 | { | 41 | { |
@@ -47,3 +49,5 @@ static inline void flush_icache(void) | |||
47 | outl(inl(0xf000f044) | 0x2, 0xf000f044); | 49 | outl(inl(0xf000f044) | 0x2, 0xf000f044); |
48 | while ((CACHE_CTL & 0x8000) != 0); | 50 | while ((CACHE_CTL & 0x8000) != 0); |
49 | } | 51 | } |
52 | |||
53 | #endif /* CONFIG_CPU */ | ||