]> Git Repo - J-u-boot.git/commit
MPC85xx: Change traps.c to not reference non-addressable memory
authorBecky Bruce <[email protected]>
Wed, 14 May 2008 18:10:04 +0000 (13:10 -0500)
committerAndrew Fleming-AFLEMING <[email protected]>
Mon, 9 Jun 2008 18:31:20 +0000 (13:31 -0500)
commit3b9519fc50802436e417c839e69df7b2016cade5
treea2d06b8498eda3cff55d2256f1402dcfab379b40
parent8155efbd7ae9c65564ca98affe94631d612ae088
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 <[email protected]>
cpu/mpc85xx/traps.c
This page took 0.031558 seconds and 4 git commands to generate.