[U-Boot] [PATCH] 85xx: Fix relocation of CCSRBAR

2008-11-13 Thread Kumar Gala
If the virtual address for CCSRBAR is the same after relocation but the physical address is changing we'd end up having two TLB entries with the same VA. Instead we new us the new CCSRBAR virt address + 4k as a temp virt address to access the old CCSRBAR to relocate it. Signed-off-by: Kumar Gala

Re: [U-Boot] [PATCH] 85xx: Fix relocation of CCSRBAR

2008-11-13 Thread Peter Tyser
On Thu, 2008-11-13 at 06:30 -0600, Kumar Gala wrote: If the virtual address for CCSRBAR is the same after relocation but the physical address is changing we'd end up having two TLB entries with the same VA. Instead we new us the new CCSRBAR virt address + 4k as a temp virt address to access

Re: [U-Boot] [PATCH] 85xx: Fix relocation of CCSRBAR

2008-11-13 Thread Kumar Gala
On Nov 13, 2008, at 9:30 AM, Peter Tyser wrote: On Thu, 2008-11-13 at 06:30 -0600, Kumar Gala wrote: If the virtual address for CCSRBAR is the same after relocation but the physical address is changing we'd end up having two TLB entries with the same VA. Instead we new us the new CCSRBAR