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:
parent
bbb0c3f397
commit
7fee4868f9
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue