Skip to content

DMA ECC update

Peter Tyser u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v10 of 3 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Enable instruction cache during 83xx sdram init

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/383xx: Default to using DMA to initialize SDRAMcpu/mpc83xx/spd_sdram.c drivers/dma/fsl_dma.c include/asm-ppc/config.h+18 -623 replies
1/383xx: Default to using DMA to initializeSDRAM+0 -06 replies
1/383xx: Default to using DMA to initialize SDRAM+0 -02 replies
1/383xx: Default to using DMA to initialize SDRAM+0 -00 replies
2/383xx: Add CONFIG_MEM_INIT_VALUE for boards with ECCcpu/mpc83xx/spd_sdram.c include/configs/MPC8349EMDS.h include/configs/MPC8360EMDS.h +6 more+9 -10 replies
3/3fsl_dma: Fix SDRAM initial valuedrivers/dma/fsl_dma.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [U-Boot] [PATCH 0/3 v2] DMA ECC update

Changes since v1:
- Enable instruction cache during 83xx sdram init

These changes bring the 83xx SDRAM ECC initialization in line with the 85xx/86xx boards and also fixes a minor bug in fsl_dma.c.

I don't have any 83xx boards to test on, so it would be appreciated if someone with 83xx hardware that uses ECC could give the patches a shot.

It'd be nice if SDRAM could be initialized via the DDR controller with CONFIG_ECC_INIT_VIA_DDRCONTROLLER on the 83xx platform too, but I'm not going to tackle it:)

The patches also resolve the compile error Stefan brought up with non-freescale boards with CONFIG_ECC.

Peter Tyser (3):
83xx: Default to using DMA to initialize SDRAM 83xx: Added CONFIG_MEM_INIT_VALUE for boards with ECC
fsl_dma: Fix SDRAM initial value

 cpu/mpc83xx/spd_sdram.c       |   57 +++--------------------------------------
 drivers/dma/fsl_dma.c         |   18 ++++++++----
 include/asm-ppc/config.h      |    7 ++---
 include/configs/MPC8349EMDS.h |    1 +
 include/configs/MPC8360EMDS.h |    1 +
 include/configs/MPC8360ERDK.h |    1 +
 include/configs/MPC837XEMDS.h |    1 +
 include/configs/MPC837XERDB.h |    1 +
 include/configs/TQM834x.h     |    1 +
 include/configs/kmeter1.h     |    1 +
 include/configs/sbc8349.h     |    1 +
 11 files changed, 27 insertions(+), 63 deletions(-)