From: Wolfgang Denk Date: Thu, 06 May 2010 00:01:24 +0200 Subject: [U-Boot] [PATCH v2] POST: Added ECC memory test for mpc83xx. In-Reply-To: <1270654208-32319-1-git-send-email-michael.zaidman@gmail.com> References: <1270654208-32319-1-git-send-email-michael.zaidman@gmail.com> Message-ID: <20100505220124.48A53B0FF81@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 Michael Zaidman, In message <1270654208-32319-1-git-send-email-michael.zaidman@gmail.com> you wrote: > Signed-off-by: Michael Zaidman > --- > post/cpu/mpc83xx/Makefile | 30 ++++++++ > post/cpu/mpc83xx/ecc.c | 167 +++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 197 insertions(+), 0 deletions(-) > create mode 100644 post/cpu/mpc83xx/Makefile > create mode 100644 post/cpu/mpc83xx/ecc.c Applied, after fixing incorrect brace style: > + /* Set bit to be injected */ > + if (errbit < 32) { > + __raw_writel(1 << errbit, &ddr->data_err_inject_lo); > + __raw_writel(0, &ddr->data_err_inject_hi); > + } > + else { ... here. 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 I can type faster than I can move a mouse, so I find menu-driven drawing packages time consuming and frustrating. - W. R. Stevens