summaryrefslogtreecommitdiffstats
path: root/firmware/rolo.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-04-16 23:49:21 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-04-16 23:49:21 +0000
commit7fee4868f975c6de13fe4f5fe1f82546d0e0eadd (patch)
tree346e5877339ad79b22490f0714c00e952b888809 /firmware/rolo.c
parentbbb0c3f397b5fb44bd13a3fbc6cf75260deb019f (diff)
downloadrockbox-7fee4868f975c6de13fe4f5fe1f82546d0e0eadd.tar.gz
rockbox-7fee4868f975c6de13fe4f5fe1f82546d0e0eadd.tar.bz2
rockbox-7fee4868f975c6de13fe4f5fe1f82546d0e0eadd.zip
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
Diffstat (limited to 'firmware/rolo.c')
-rw-r--r--firmware/rolo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c
index a18a0737c7..a76a8925b0 100644
--- a/firmware/rolo.c
+++ b/firmware/rolo.c
@@ -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"