mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 14:40:41 +00:00
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>
This commit is contained in:
parent
5bdeff3214
commit
bd7c023e48
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue