commit | f095f5f952f7bf11b0faed5bdd1e4be3d66046f5 | [log] [tgz] |
---|---|---|
author | Becky Bruce <becky.bruce@freescale.com> | Wed May 14 13:09:51 2008 -0500 |
committer | Wolfgang Denk <wd@denx.de> | Tue Jun 03 19:47:14 2008 +0200 |
tree | 4b5a015b0dcf5b2ab17765498519bf8ea12355ab | |
parent | ff9daf10bac7966a0776e2401753d4eedde99337 [diff] |
MPC512x: 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>