powerpc/mpc85xx: Add clear_ddr_tlbs function
authorBecky Bruce <beckyb@kernel.crashing.org>
Mon, 18 Jul 2011 23:49:15 +0000 (18:49 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 22 Jul 2011 08:07:47 +0000 (03:07 -0500)
commit9cdfe2810693135773602e7c98b78a4af2873a61
tree112b5b6bd65b4bffb669cd2f0264bae764728a18
parentffadc441bc993ed60ea473d248a115136f24932d
powerpc/mpc85xx: Add clear_ddr_tlbs function

This is useful when we just want to wipe out the TLBs.  There's currently
a function that resets the ddr tlbs to a different value; it is changed to
utilize this function.  The new function can be used in conjunction with
setup_ddr_tlbs() for a board to temporarily map/unmap the DDR address
range as needed.

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/cpu.c
arch/powerpc/cpu/mpc85xx/tlb.c
arch/powerpc/include/asm/mmu.h