[U-Boot] [PATCH V2] 8xx: prevent a machine check in scc_init().

Wolfgang Denk wd at denx.de
Mon Sep 22 22:26:38 CEST 2008


Dear Gary Jennejohn,

In message <20080918135224.3ad21fd6 at peedub.jennejohn.org> you wrote:
> 
> Without this change DPRAM can be exhausted when CFG_ALLOC_DPRAM is
> defined, which eventually leads to a machine check.  This change
> assures that DPRAM is allocated only once in that case.
> 
> Signed-off-by: Gary Jennejohn <garyj at denx.de>
> ---
>  cpu/mpc8xx/scc.c |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)

Applied, with minor re-editing to make the code look similar to what
we have in cpu/mpc8xx/fec.c

Thanks.


Bein, I hope it is OK with you that I pulled this directly.

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
It would be illogical to kill without reason
	-- Spock, "Journey to Babel", stardate 3842.4


More information about the U-Boot mailing list