Skip to content

ddr: marvell: update DDR driver

Chris Packham u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v11 patch 0 repliesSuperseded

Changes in v2 from the cover letter

- Update tODT_OFF_WR as well
- Added patches 2-4

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ddr: marvell: only assert M_ODT[0] on write for a single CSdrivers/ddr/marvell/a38x/ddr3_init.h drivers/ddr/marvell/a38x/ddr3_training.c drivers/ddr/marvell/a38x/ddr3_training_static.c+13 -80 replies
2/4ddr: marvell: use correct TREFI valuedrivers/ddr/marvell/a38x/ddr3_training.c+1 -10 replies
3/4ddr: marvell: update additional ODT settingdrivers/ddr/marvell/a38x/ddr3_training_hw_algo.c+14 -80 replies
4/4ddr: marvell: update ddr controller init and freqdrivers/ddr/marvell/a38x/ddr3_topology_def.h drivers/ddr/marvell/a38x/ddr3_training.c drivers/ddr/marvell/a38x/ddr3_training_db.c+34 -210 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 v2 0/4] ddr: marvell: update DDR driver

I have a custom board that sees correctable ECC errors (when running memtester[1] from Linux). When I used Marvell's bootloader I didn't see the errors.

I've also had a tame hardware engineer (if there is such a thing) looking at the timing waveforms comparing the stock u-boot behaviour against Marvell's bootloader.

The changes for this series have been derived by comparing scope captures and register output between the same system running stock u-boot and Marvell's USP.

Changes in v2:
- Update tODT_OFF_WR as well
- Added patches 2-4

Chris Packham (4):
ddr: marvell: only assert M_ODT[0] on write for a single CS
ddr: marvell: use correct TREFI value
ddr: marvell: update additional ODT setting
ddr: marvell: update ddr controller init and freq

 drivers/ddr/marvell/a38x/ddr3_init.h             |  3 +-
 drivers/ddr/marvell/a38x/ddr3_topology_def.h     |  3 +-
 drivers/ddr/marvell/a38x/ddr3_training.c         | 50 +++++++++++++++---------
 drivers/ddr/marvell/a38x/ddr3_training_db.c      | 19 +++++----
 drivers/ddr/marvell/a38x/ddr3_training_hw_algo.c | 22 +++++++----
 drivers/ddr/marvell/a38x/ddr3_training_static.c  |  3 +-
 6 files changed, 62 insertions(+), 38 deletions(-)
Signature · 1 line
2.15.1