]> git.sur5r.net Git - u-boot/commit
85xx: Improve flash remapping on MPC8572DS & MPC8536DS
authorKumar Gala <galak@kernel.crashing.org>
Mon, 22 Sep 2008 19:11:11 +0000 (14:11 -0500)
committerWolfgang Denk <wd@denx.de>
Sat, 18 Oct 2008 19:54:04 +0000 (21:54 +0200)
commit7c0d4a7508d252d2d7c137eeb376814132dda30f
tree305460a7a5f0d9c30ea94b7e6382129a9900750e
parent54e091d3b603a3332c619199ca83a07e95960da4
85xx: Improve flash remapping on MPC8572DS & MPC8536DS

Changing the flash from cacheable to cache-inhibited was taking a significant
amount of time due to the fact that we were iterating over the full 256M of
flash.  Instead we can just flush the L1 d-cache and invalidate the i-cache.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/mpc8536ds/mpc8536ds.c
board/freescale/mpc8536ds/tlb.c
board/freescale/mpc8572ds/mpc8572ds.c
board/freescale/mpc8572ds/tlb.c