summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/mmu.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-10-31 17:59:22 +0100
committerStefan Roese <sr@denx.de>2007-10-31 21:21:47 +0100
commit483e09a223c666269ef81d3573a6591b1046b0ef (patch)
treed31324bf7884ff20ce7b9b10653de7544ab7008f /include/asm-ppc/mmu.h
parentd25dfe08fbd1220cb994e7e6b105049aa9aa8e79 (diff)
downloadtalos-obmc-uboot-483e09a223c666269ef81d3573a6591b1046b0ef.tar.gz
talos-obmc-uboot-483e09a223c666269ef81d3573a6591b1046b0ef.zip
ppc4xx: Add change_tlb function to modify I attribute of TLB(s)
This function is used to either turn cache on or off in a specific memory area. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/asm-ppc/mmu.h')
-rw-r--r--include/asm-ppc/mmu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ppc/mmu.h b/include/asm-ppc/mmu.h
index b3cfa9b372..edcb3b9ca3 100644
--- a/include/asm-ppc/mmu.h
+++ b/include/asm-ppc/mmu.h
@@ -648,6 +648,7 @@ unsigned long mftlb3(unsigned long index);
void program_tlb(u32 phys_addr, u32 virt_addr, u32 size, u32 tlb_word2_i_value);
void remove_tlb(u32 vaddr, u32 size);
+void change_tlb(u32 vaddr, u32 size, u32 tlb_word2_i_value);
#endif /* __ASSEMBLY__ */
#endif /* CONFIG_440 */
OpenPOWER on IntegriCloud