[U-Boot] [PATCH v2 0/7] 83xx/85xx/86xx ECC update

Peter Tyser ptyser at xes-inc.com
Tue Nov 10 00:37:03 CET 2009


This patch series is similar to the "8xxx: Add 'ecc' command" recently
submitted but has the following changes:
- Supports 83xx/85xx/86xx, previously 83xx wasn't supported
- Removes the old 83xx ecc command and replaces it with this new
  implementation
- Places the ecc code in a new drivers/edac directory instead of
  in cpu/8xxx
- The ecc command is enabled via CONFIG_EDAC_FSL_ECC instead of
  CONFIG_CMD_ECC

I compile tested on 83xx, but don't have any 83xx boards to test
on, so it'd be much appreciated if someone else could give it a shot.
If people don't want to actually ground signals on their boards,
they can inject an error then modify memory or perform a mtest to
simulate ecc errors.

Peter Tyser (7):
  83xx: Add CCSR DDR register offsets
  85xx/86xx: Add ECC error injection defines
  83xx/85xx/86xx: Add ECC support
  83xx: Migrate CONFIG_DDR_ECC_CMD to CONFIG_FSL_EDAC_ECC
  Add check for ECC errors during SDRAM POST and mtest
  xes: Add 8xxx post support
  xes: Enable memory POST and ECC error reporting

 Makefile                         |    2 +
 board/xes/common/Makefile        |    1 +
 board/xes/common/fsl_8xxx_post.c |   36 ++++
 common/cmd_mem.c                 |   10 +
 cpu/mpc83xx/Makefile             |    1 -
 cpu/mpc83xx/ecc.c                |  390 --------------------------------------
 drivers/edac/Makefile            |   46 +++++
 drivers/edac/fsl_8xxx_ecc.c      |  381 +++++++++++++++++++++++++++++++++++++
 include/asm-ppc/immap_83xx.h     |   22 ++-
 include/asm-ppc/immap_85xx.h     |    4 +
 include/asm-ppc/immap_86xx.h     |    3 +
 include/common.h                 |    6 +
 include/configs/MPC8349EMDS.h    |    2 +-
 include/configs/MPC8360EMDS.h    |    2 +-
 include/configs/MPC8360ERDK.h    |    2 +-
 include/configs/MPC837XEMDS.h    |    2 +-
 include/configs/MPC837XERDB.h    |    2 +-
 include/configs/XPEDITE5170.h    |    3 +
 include/configs/XPEDITE5200.h    |    3 +
 include/configs/XPEDITE5370.h    |    3 +
 include/configs/sbc8349.h        |    2 +-
 include/configs/vme8349.h        |    2 +-
 post/drivers/memory.c            |    5 +
 23 files changed, 525 insertions(+), 405 deletions(-)
 create mode 100644 board/xes/common/fsl_8xxx_post.c
 delete mode 100644 cpu/mpc83xx/ecc.c
 create mode 100644 drivers/edac/Makefile
 create mode 100644 drivers/edac/fsl_8xxx_ecc.c



More information about the U-Boot mailing list