[U-Boot-Users] [PATCH] MPC512x: Change traps.c to not reference non-addressable memory

Wolfgang Denk wd at denx.de
Thu Jun 5 00:06:07 CEST 2008


In message <1210788591-6996-1-git-send-email-becky.bruce at freescale.com> you wrote:
> From: Becky Bruce <becky.bruce at freescale.com>
> 
> 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 at freescale.com>
> ---
>  cpu/mpc512x/traps.c |    8 +++++++-
>  1 files changed, 7 insertions(+), 1 deletions(-)

Applied, thanks!

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The sight of death frightens them [Earthers].
	-- Kras the Klingon, "Friday's Child", stardate 3497.2




More information about the U-Boot mailing list