From: Wolfgang Denk Date: Mon, 22 Sep 2008 22:26:38 +0200 Subject: [U-Boot] [PATCH V2] 8xx: prevent a machine check in scc_init(). In-Reply-To: <20080918135224.3ad21fd6@peedub.jennejohn.org> References: <20080914114924.0090d95c@peedub.jennejohn.org> <20080918135224.3ad21fd6@peedub.jennejohn.org> Message-ID: <20080922202638.31212248EE@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Gary Jennejohn, In message <20080918135224.3ad21fd6@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 > --- > 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