diff options
| author | Becky Bruce <beckyb@kernel.crashing.org> | 2011-07-18 18:49:15 -0500 | 
|---|---|---|
| committer | Kumar Gala <galak@kernel.crashing.org> | 2011-07-22 03:07:47 -0500 | 
| commit | 9cdfe2810693135773602e7c98b78a4af2873a61 (patch) | |
| tree | 112b5b6bd65b4bffb669cd2f0264bae764728a18 /arch/powerpc/include/asm/mmu.h | |
| parent | ffadc441bc993ed60ea473d248a115136f24932d (diff) | |
| download | olio-uboot-2014.01-9cdfe2810693135773602e7c98b78a4af2873a61.tar.xz olio-uboot-2014.01-9cdfe2810693135773602e7c98b78a4af2873a61.zip | |
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>
Diffstat (limited to 'arch/powerpc/include/asm/mmu.h')
| -rw-r--r-- | arch/powerpc/include/asm/mmu.h | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/arch/powerpc/include/asm/mmu.h b/arch/powerpc/include/asm/mmu.h index c01c85f6d..ef5076b24 100644 --- a/arch/powerpc/include/asm/mmu.h +++ b/arch/powerpc/include/asm/mmu.h @@ -489,6 +489,7 @@ extern int find_free_tlbcam(void);  extern void print_tlbcam(void);  extern unsigned int setup_ddr_tlbs(unsigned int memsize_in_meg); +extern void clear_ddr_tlbs(unsigned int memsize_in_meg);  extern void write_tlb(u32 _mas0, u32 _mas1, u32 _mas2, u32 _mas3, u32 _mas7); |