Fix 3G errors.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13145 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2007-04-13 21:13:14 +00:00
parent d95c39072a
commit c0b463dd0b

View file

@ -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 */