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>
Showing
- board/freescale/mpc8536ds/mpc8536ds.c 4 additions, 6 deletionsboard/freescale/mpc8536ds/mpc8536ds.c
- board/freescale/mpc8536ds/tlb.c 1 addition, 1 deletionboard/freescale/mpc8536ds/tlb.c
- board/freescale/mpc8572ds/mpc8572ds.c 4 additions, 6 deletionsboard/freescale/mpc8572ds/mpc8572ds.c
- board/freescale/mpc8572ds/tlb.c 1 addition, 1 deletionboard/freescale/mpc8572ds/tlb.c
Please register or sign in to comment