diff options
author | Kumar Gala | 2008-08-15 08:24:32 -0500 |
---|---|---|
committer | Wolfgang Denk | 2008-08-19 00:57:28 +0200 |
commit | fcd69a1a57fb2af4d26201422095a4be9f36963e (patch) | |
tree | dcd7a78e4dffdc7b0d1ad53da21345aa5887ca63 /board/prodrive/p3mx | |
parent | a15b07104ca7bbb7093c9009c9ae1b58b4202d13 (diff) |
Clean up usage of icache_disable/dcache_disable
There is no point in disabling the icache on 7xx/74xx/86xx parts and not
also flushing the icache. All callers of invalidate_l1_instruction_cache()
call icache_disable() right after. Make it so icache_disable() calls
invalidate_l1_instruction_cache() for us.
Also, dcache_disable() already calls dcache_flush() so there is no point
in the explicit calls of dcache_flush().
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/prodrive/p3mx')
-rw-r--r-- | board/prodrive/p3mx/p3mx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/board/prodrive/p3mx/p3mx.c b/board/prodrive/p3mx/p3mx.c index d54ddaffc1e..69d7c9b28e6 100644 --- a/board/prodrive/p3mx/p3mx.c +++ b/board/prodrive/p3mx/p3mx.c @@ -62,8 +62,6 @@ DECLARE_GLOBAL_DATA_PTR; #define DP(x) #endif -extern void flush_data_cache (void); -extern void invalidate_l1_instruction_cache (void); extern flash_info_t flash_info[]; /* ------------------------------------------------------------------------- */ |