summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorBecky Bruce <becky.bruce@freescale.com>2008-05-14 13:09:58 -0500
committerJon Loeliger <jdl@freescale.com>2008-06-06 10:55:35 -0500
commit279726bd00558e80263d44581c44167625b7fb9a (patch)
treece58980690892c79147b8d38aef7edfb636bdbb4 /disk
parent1a247ba7fa5fb09f56892a09a990f03ce564b3e2 (diff)
downloadu-boot-imx-279726bd00558e80263d44581c44167625b7fb9a.zip
u-boot-imx-279726bd00558e80263d44581c44167625b7fb9a.tar.gz
u-boot-imx-279726bd00558e80263d44581c44167625b7fb9a.tar.bz2
MPC86xx: 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 to prevent us from trying to access non-mapped memory. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Diffstat (limited to 'disk')
0 files changed, 0 insertions, 0 deletions