summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx/commproc.c
diff options
context:
space:
mode:
authorBecky Bruce <becky.bruce@freescale.com>2008-05-14 13:10:04 -0500
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-06-09 13:31:20 -0500
commit3b9519fc50802436e417c839e69df7b2016cade5 (patch)
treea2d06b8498eda3cff55d2256f1402dcfab379b40 /cpu/mpc85xx/commproc.c
parent8155efbd7ae9c65564ca98affe94631d612ae088 (diff)
downloadu-boot-imx-3b9519fc50802436e417c839e69df7b2016cade5.zip
u-boot-imx-3b9519fc50802436e417c839e69df7b2016cade5.tar.gz
u-boot-imx-3b9519fc50802436e417c839e69df7b2016cade5.tar.bz2
MPC85xx: Change traps.c to not reference non-addressable memory
Currently, END_OF_RAM is used by the trap code to determine if we should attempt to access the stack pointer or not. However, on systems with a lot of RAM, only a subset of the RAM is guaranteed to be mapped in and accessible. Change END_OF_RAM to use get_effective_memsize() instead of using the raw ram size out of the bd. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Diffstat (limited to 'cpu/mpc85xx/commproc.c')
0 files changed, 0 insertions, 0 deletions