summaryrefslogtreecommitdiff
path: root/post/lib_ppc
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-09-03 08:41:31 -0500
committerKumar Gala <galak@kernel.crashing.org>2009-09-08 09:10:06 -0500
commitc7259086816405fe0eb77f4dc22e76980a040cef (patch)
treee8bfb47ae25c070878b963d55b1a95a40c5c7a9e /post/lib_ppc
parentc2287af1552bd630956568d3957c370f86801b7d (diff)
downloadu-boot-imx-c7259086816405fe0eb77f4dc22e76980a040cef.zip
u-boot-imx-c7259086816405fe0eb77f4dc22e76980a040cef.tar.gz
u-boot-imx-c7259086816405fe0eb77f4dc22e76980a040cef.tar.bz2
ppc/85xx: Fix bug in setup_mp code
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@kernel.crashing.org>
Diffstat (limited to 'post/lib_ppc')
0 files changed, 0 insertions, 0 deletions