From 6a67707b5ec3b2c649c401550bb7fdef2b7c8d07 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 17 Dec 2011 07:27:24 +0000 Subject: Commit to certain names for cache coherency APIs and discard the aliases. Wouldn't surprise me a bit to get some non-green. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31339 a1c6a512-1295-4272-9138-f99709370657 --- firmware/load_code.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'firmware/load_code.c') diff --git a/firmware/load_code.c b/firmware/load_code.c index 59eb7ac..a76aca3 100644 --- a/firmware/load_code.c +++ b/firmware/load_code.c @@ -46,7 +46,6 @@ void * lc_open(const char *filename, unsigned char *buf, size_t buf_size) /* Make sure COP cache is flushed and invalidated before loading */ { int my_core = switch_core(CURRENT_CORE ^ 1); - cpucache_commit_discard(); switch_core(my_core); } #endif @@ -89,7 +88,7 @@ void * lc_open(const char *filename, unsigned char *buf, size_t buf_size) } /* commit dcache and discard icache */ - cpucache_commit_discard(); + commit_discard_idcache(); /* return a pointer the header, reused by lc_get_header() */ return hdr.load_addr; -- cgit v1.1