[U-Boot] A question about mpc85xx tlb1

Scott Wood scottwood at freescale.com
Fri Mar 16 19:04:15 CET 2012


On 03/16/2012 04:40 AM, 徐阳 wrote:
> Dear list,
> 
> In u-boot-2011.12/arch/powerpc/cpu/mpc85xx/cpu_init_early.c , line 151
> 
> void cpu_init_early_f(void)
> {
> ...
> invalidate_tlb(1);
> 
> ...
> }
> 
> 
> The tlb1 has beening invalidated int the line 151,  but I don't know when
> it was  validated again.
> It makes me feel very confused, please help me.

This command invalidates each entry of the TLB1 array that does not have
IPROT set.  Ordinarily there are no such entries.

You don't "revalidate" after invalidating a TLB, you just load whatever
entries you want to be there.

-Scott



More information about the U-Boot mailing list