From 7fee4868f975c6de13fe4f5fe1f82546d0e0eadd Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 16 Apr 2008 23:49:21 +0000 Subject: [PATCH] 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 --- firmware/rolo.c | 4 ++-- 1 file 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"