summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2014-04-30 19:21:12 +0200
committerYork Sun <yorksun@freescale.com>2014-05-13 08:26:56 -0700
commitf13c9156a9b790fa1991ce41a7f9b7261ff85c33 (patch)
tree6c81ff4d7b77ff474a9b07de2b56caff4a5a0350
parenta6c46b994d90f892b608b1b233a04f1fc54f7ab7 (diff)
downloadu-boot-imx-f13c9156a9b790fa1991ce41a7f9b7261ff85c33.zip
u-boot-imx-f13c9156a9b790fa1991ce41a7f9b7261ff85c33.tar.gz
u-boot-imx-f13c9156a9b790fa1991ce41a7f9b7261ff85c33.tar.bz2
powerpc/mpc85xx: Update TLB CAMs in relocated mode
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>
-rw-r--r--arch/powerpc/cpu/mpc85xx/cpu_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c b/arch/powerpc/cpu/mpc85xx/cpu_init.c
index 7e27464..2656b79 100644
--- a/arch/powerpc/cpu/mpc85xx/cpu_init.c
+++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c
@@ -895,6 +895,7 @@ skip_l2:
}
#endif
+ init_used_tlb_cams();
return 0;
}