mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-28 22:21:49 +01: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
@ -180,5 +180,9 @@ void cpu_init_early_f(void)
|
|||||||
|
|
||||||
invalidate_tlb(1);
|
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();
|
init_tlbs();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user