For TCC and IMX Rolo, use a full flush and invalidate before branching.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17149 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2008-04-16 23:49:21 +00:00
parent bbb0c3f397
commit 7fee4868f9
1 changed files with 2 additions and 2 deletions

View File

@ -169,8 +169,8 @@ void rolo_restart(const unsigned char* source, unsigned char* dest,
);
#elif defined(CPU_TCC780X) || (CONFIG_CPU==IMX31L)
/* Flush cache */
flush_icache();
/* Flush and invalidate caches */
invalidate_icache();
asm volatile(
"mov pc, %0 \n"