[U-Boot] [PATCH] ppc/85xx: Fix bug in setup_mp code

Kumar Gala galak at kernel.crashing.org
Sat Sep 5 20:04:48 CEST 2009


On Sep 3, 2009, at 8:58 AM, Kumar Gala wrote:

> Its possible that we try and copy the boot page code out of flash  
> into a
> DDR location that doesn't have a TLB cover it.  For example, if we  
> have
> 3G of DDR we typically only map the first 2G.  In the cases of 4G+  
> this
> wasn't an issue since the reset page TLB mapping covered the last page
> of memory which we wanted to copy to.
>
> We now change the physical address of the reset page TLB to map to the
> true physical location of the boot page code, copy and than set the
> TLB back to its 1:1 mapping of the reset page.
>
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
> cpu/mpc85xx/mp.c |   32 +++++++++++++++++++++++++++++---
> 1 files changed, 29 insertions(+), 3 deletions(-)

applied to 85xx

- k


More information about the U-Boot mailing list