mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
powerpc/mpc85xx:Disable Debug TLB entry for non-minimal SPL
CONFIG_SPL_BUILD creates debug TLB entry, so disable it before init_tlbs. CONFIG_SPL_INIT_MINIMAL never creates any debug TLB entry, so no need of disable_tlb(). Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
This commit is contained in:
parent
b9944a77f9
commit
2a6936059a
1 changed files with 3 additions and 1 deletions
|
@ -180,7 +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)
|
||||
#if defined(CONFIG_SYS_PPC_E500_DEBUG_TLB) && \
|
||||
!(defined(CONFIG_SPL_INIT_MINIMAL) && defined(CONFIG_SPL_BUILD)) && \
|
||||
!defined(CONFIG_NAND_SPL)
|
||||
disable_tlb(CONFIG_SYS_PPC_E500_DEBUG_TLB);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue