summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-10-31 16:59:22 (GMT)
committerStefan Roese <sr@denx.de>2007-10-31 20:21:47 (GMT)
commit483e09a223c666269ef81d3573a6591b1046b0ef (patch)
treed31324bf7884ff20ce7b9b10653de7544ab7008f /include
parentd25dfe08fbd1220cb994e7e6b105049aa9aa8e79 (diff)
downloadu-boot-fsl-qoriq-483e09a223c666269ef81d3573a6591b1046b0ef.tar.xz
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')
-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 b3cfa9b..edcb3b9 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 */