diff options
author | Becky Bruce <becky.bruce@freescale.com> | 2008-05-14 13:09:58 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2008-06-06 10:55:35 -0500 |
commit | 279726bd00558e80263d44581c44167625b7fb9a (patch) | |
tree | ce58980690892c79147b8d38aef7edfb636bdbb4 /COPYING | |
parent | 1a247ba7fa5fb09f56892a09a990f03ce564b3e2 (diff) | |
download | u-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 'COPYING')
0 files changed, 0 insertions, 0 deletions