diff options
author | Prabhakar Kushwaha <prabhakar@freescale.com> | 2013-06-13 10:14:00 +0530 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-06-20 17:08:53 -0500 |
commit | bd7c023e48d74bb5c343f05f9d62742e108a8f52 (patch) | |
tree | fbf7027a88fd4030aa186a640a8f54123aa8837a /arch | |
parent | 5bdeff3214b1b979a20fa0250cf02e93876d0b27 (diff) | |
download | talos-obmc-uboot-bd7c023e48d74bb5c343f05f9d62742e108a8f52.tar.gz talos-obmc-uboot-bd7c023e48d74bb5c343f05f9d62742e108a8f52.zip |
powerpc/mpc85xx:Disable Debug TLB entry before init_tlbs
init_tlbs() initialize all the TLB entries required for the system.
So disable DEBUG TLB entry before TLB entries initialization.
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/cpu_init_early.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init_early.c b/arch/powerpc/cpu/mpc85xx/cpu_init_early.c index f4403c2d45..837c034be9 100644 --- a/arch/powerpc/cpu/mpc85xx/cpu_init_early.c +++ b/arch/powerpc/cpu/mpc85xx/cpu_init_early.c @@ -180,5 +180,9 @@ void cpu_init_early_f(void) invalidate_tlb(1); +#if defined(CONFIG_SYS_PPC_E500_DEBUG_TLB) && !defined(CONFIG_SPL_BUILD) && !defined(CONFIG_NAND_SPL) + disable_tlb(CONFIG_SYS_PPC_E500_DEBUG_TLB); +#endif + init_tlbs(); } |