From c0b463dd0b75fa1de6695e0fb77e5689904a7091 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 13 Apr 2007 21:13:14 +0000 Subject: Fix 3G errors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13145 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/system-pp.h | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- cgit v1.2.3