diff mbox

[U-Boot,3/5] powerpc/mpc85xx: Update TLB CAMs in relocated mode

Message ID 1398878474-4180-4-git-send-email-agraf@suse.de
State Accepted
Delegated to: York Sun
Headers show

Commit Message

Alexander Graf April 30, 2014, 5:21 p.m. UTC
We want to use the TLB mapping helpers in relocated mode as well. These helpers
need to have awareness of already occupied TLB entries. We already had them in
sync in non-relocated mode, but need to resync them when we move into relocated.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 arch/powerpc/cpu/mpc85xx/cpu_init.c |    1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c b/arch/powerpc/cpu/mpc85xx/cpu_init.c
index 36ef232..71bcc45 100644
--- a/arch/powerpc/cpu/mpc85xx/cpu_init.c
+++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c
@@ -888,6 +888,7 @@  skip_l2:
 	}
 #endif
 
+	init_used_tlb_cams();
 
 	return 0;
 }