From: Andy Fleming Date: Mon, 2 Jun 2008 17:59:36 -0500 Subject: [U-Boot-Users] [PATCH] MPC85xx: Change traps.c to not reference non-addressable memory In-Reply-To: <1210788604-7044-1-git-send-email-becky.bruce@freescale.com> References: <1210788604-7044-1-git-send-email-becky.bruce@freescale.com> Message-ID: <2acbd3e40806021559y1fc48195ncd748dd64ce67b3f@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, May 14, 2008 at 1:10 PM, wrote: > From: Becky Bruce > > 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 Applied, merci Andy