Skip to contentSkip to conversation

POST: Added ECC memory test for mpc83xx.

PATCH New Michael Zaidman 2 participants 2 messages Apr 7, 2010 – May 5, 2010

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 POST: Added ECC memory test for mpc83xx.

---
 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
post/cpu/mpc83xx/Makefile new file +30 -0
new file mode 100644
index 0000000..86d8784
@@ -0,0 +1,30 @@
+#
+# (C) Copyright 2002-2007
+# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+include $(OBJTREE)/include/autoconf.mk
+
+LIB	= libpostmpc83xx.a
+
+AOBJS-$(CONFIG_HAS_POST)	+=
+COBJS-$(CONFIG_HAS_POST)	+= ecc.o
+
+include $(TOPDIR)/post/rules.mk
post/cpu/mpc83xx/ecc.c new file +167 -0

167 lines not on this page · raw message

Signature · 1 line
1.6.3.3
#1 lore raw

PATCH v2 1/1 POST: Added ECC memory test for mpc83xx.

Dear Michael Zaidman,

Quoted 7 lines · In message <[email protected]> you…
---
 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:

post/cpu/mpc83xx/ecc.c line 108

Quoted 6 lines
post/cpu/mpc83xx/ecc.c new file +6 -0
+		/* 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

Signature · 5 lines
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