From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Fri, 16 Mar 2012 13:04:15 -0500 Subject: [U-Boot] A question about mpc85xx tlb1 In-Reply-To: References: Message-ID: <4F63809F.6050309@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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