Skip to content

Update Stratix 10 SDRAM driver

Ley Foon Tan u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 0 repliesNew
  2. v10 of 10 patches 0 repliesSuperseded

Changes in v2 from the cover letter

---------
- Decode memory bank configuration from device tree
- Use asm volatile() and "memory" clobber

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ddr: altera: stratix10: Move SDRAM size check to SDRAM driverarch/arm/mach-socfpga/spl_s10.c drivers/ddr/altera/sdram_s10.c+15 -110 replies
2/6ddr: altera: Stratix10: Add multi-banks DRAM size checkdrivers/ddr/altera/sdram_s10.c+41 -50 replies
3/6configs: stratix10: Change CONFIG_NR_DRAM_BANKS to 2configs/socfpga_stratix10_defconfig+1 -10 replies
4/6arm: dts: Stratix10: Modify stratix10 socdk memory nodearch/arm/dts/socfpga_stratix10_socdk.dts+3 -10 replies
5/6arm: socfpga: stratix10: Add cpu_has_been_warmreset()arch/arm/mach-socfpga/include/mach/reset_manager_s10.h arch/arm/mach-socfpga/reset_manager_s10.c+12 -00 replies
6/6ddr: altera: Stratix10: Add ECC memory scrubbingarch/arm/mach-socfpga/include/mach/sdram_s10.h drivers/ddr/altera/sdram_s10.c+90 -00 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/6] Update Stratix 10 SDRAM driver

This patchset update Stratix 10 SDRAM driver to support:
- Multi-banks memory
- Stratix 10 support up to 2 memory banks:

	Bank 0: Address 0, size 2GB
	Bank 1: Address 0x100000000, size 124GB

- Add warm reset boot checking function (Patch[5])
- Add ECC memory scrubbing support (Patch [6])
- Use cache enabled + "DC ZVA" instruction to clear memory to zeros

v1 -> v2:
---------
- Decode memory bank configuration from device tree
- Use asm volatile() and "memory" clobber

History:
--------
v1: https://patchwork.ozlabs.org/cover/1055134/

Ley Foon Tan (6):
ddr: altera: stratix10: Move SDRAM size check to SDRAM driver
ddr: altera: Stratix10: Add multi-banks DRAM size check
configs: stratix10: Change CONFIG_NR_DRAM_BANKS to 2
arm: dts: Stratix10: Modify stratix10 socdk memory node
arm: socfpga: stratix10: Add cpu_has_been_warmreset()
ddr: altera: Stratix10: Add ECC memory scrubbing

 arch/arm/dts/socfpga_stratix10_socdk.dts      |   4 +-
 .../include/mach/reset_manager_s10.h          |   3 +
 .../arm/mach-socfpga/include/mach/sdram_s10.h |   9 ++
 arch/arm/mach-socfpga/reset_manager_s10.c     |   9 ++
 arch/arm/mach-socfpga/spl_s10.c               |  11 --
 configs/socfpga_stratix10_defconfig           |   2 +-
 drivers/ddr/altera/sdram_s10.c                | 136 +++++++++++++++++-
 7 files changed, 159 insertions(+), 15 deletions(-)
Signature · 1 line
2.19.0