]> git.sur5r.net Git - u-boot/commit
Clean up usage of icache_disable/dcache_disable
authorKumar Gala <galak@kernel.crashing.org>
Fri, 15 Aug 2008 13:24:32 +0000 (08:24 -0500)
committerWolfgang Denk <wd@denx.de>
Mon, 18 Aug 2008 22:57:28 +0000 (00:57 +0200)
commitfcd69a1a57fb2af4d26201422095a4be9f36963e
treedcd7a78e4dffdc7b0d1ad53da21345aa5887ca63
parenta15b07104ca7bbb7093c9009c9ae1b58b4202d13
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>
board/Marvell/db64360/db64360.c
board/Marvell/db64460/db64460.c
board/esd/cpci750/cpci750.c
board/freescale/mpc7448hpc2/mpc7448hpc2.c
board/prodrive/p3mx/p3mx.c
common/cmd_bootm.c
cpu/74xx_7xx/cache.S
cpu/mpc86xx/cache.S