]> git.sur5r.net Git - u-boot/commitdiff
SECURE BOOT - Removed deletion of TLB entries code
authorRuchika Gupta <ruchika.gupta@freescale.com>
Mon, 25 Mar 2013 07:40:25 +0000 (07:40 +0000)
committerAndy Fleming <afleming@freescale.com>
Fri, 24 May 2013 21:54:14 +0000 (16:54 -0500)
Boot ROM code creates TLB entries for 3.5G space before entering
the u-boot. Earlier we were deleting these entries after early
initialization of CPU. In recent past, code has been added
to invalidate all these entries before relocation of u-boot code.
So this code to delete TLB entries after CPU initialization
is no longer required.

Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com>
Acked-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc85xx/cpu_init_early.c
arch/powerpc/include/asm/fsl_secure_boot.h

index dacfdd15ea8b01c0acb42a40b27ac0a14c4fdc52..234fde48465bfcedb2eefb22ff4625f2a9a64cd3 100644 (file)
@@ -180,12 +180,5 @@ void cpu_init_early_f(void)
 
        invalidate_tlb(1);
 
-#if defined(CONFIG_SECURE_BOOT)
-       /* Disable the TLBs created by ISBC */
-       for (i = CONFIG_SYS_ISBC_START_TLB;
-            i < CONFIG_SYS_ISBC_START_TLB + CONFIG_SYS_ISBC_NUM_TLBS; i++)
-                       disable_tlb(i);
-#endif
-
        init_tlbs();
 }
index d1c1967d1d639f15fbf65fb325d8c47552b91fa8..2bc6ed1cf009dae3189d9f8abb3110cc7ae567e1 100644 (file)
 #ifndef __FSL_SECURE_BOOT_H
 #define __FSL_SECURE_BOOT_H
 
-/* Starting TLB number for the TLB entried for 3.5 G space created by ISBC */
-#if defined(CONFIG_FSL_CORENET)
-#define CONFIG_SYS_ISBC_START_TLB              3
-#else
-#define CONFIG_SYS_ISBC_START_TLB              0
-#endif
-
-/* Number fo TLB's created by ISBC */
-#define CONFIG_SYS_ISBC_NUM_TLBS               5
-
 #if defined(CONFIG_FSL_CORENET)
 #define CONFIG_SYS_PBI_FLASH_BASE              0xc0000000
 #else