summaryrefslogtreecommitdiffstats
path: root/arch/ppc/mach-mpc85xx/include/mach/immap_85xx.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-03-18 09:53:18 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-03-18 17:26:23 +0100
commit5a6410edd7fcbd16c7c637a22a8bab7dcaeda402 (patch)
tree9a264a8996cfd2039424e0a7deb024afd4916078 /arch/ppc/mach-mpc85xx/include/mach/immap_85xx.h
parent0017d4d2d68736f92d9efcecccf73e9475591578 (diff)
downloadbarebox-5a6410edd7fcbd16c7c637a22a8bab7dcaeda402.tar.gz
barebox-5a6410edd7fcbd16c7c637a22a8bab7dcaeda402.tar.xz
ARM: MMU: Fix memory reaching to the end of address space
For memory reaching the end of the address space phys + bank->size overflows to 0. Fix this by right shifting phys and bank->size before adding them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Tested-by: Sean Cross <xobs@kosagi.com>
Diffstat (limited to 'arch/ppc/mach-mpc85xx/include/mach/immap_85xx.h')
0 files changed, 0 insertions, 0 deletions