diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-04-13 21:13:14 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-04-13 21:13:14 +0000 |
commit | c0b463dd0b75fa1de6695e0fb77e5689904a7091 (patch) | |
tree | 0cc375aa484b0385b155b670009bb00ceafa22f6 | |
parent | d95c39072ace1a7aeaad3ee49ed668399b4862bd (diff) |
Fix 3G errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13145 a1c6a512-1295-4272-9138-f99709370657
-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) 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 */ |