Skip to content

Update Stratix 10 SDRAM driver

Ley Foon Tan u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10ddr: altera: stratix10: Move SDRAM size check to SDRAM driverarch/arm/mach-socfpga/spl_s10.c drivers/ddr/altera/sdram_s10.c+15 -118 replies
2/10arm: socfpga: Add sdram_s10.h to sdram.harch/arm/mach-socfpga/include/mach/sdram.h+2 -00 replies
3/10ddr: altera: s10: Add multiple memory banks supportarch/arm/mach-socfpga/include/mach/sdram_s10.h drivers/ddr/altera/sdram_s10.c+91 -32 replies
3/10ddr: altera: s10: Add multiple memory banks support+0 -01 reply
4/10arm: socfpga: Update dram_init_banksize() for Stratix10arch/arm/mach-socfpga/board.c+15 -12 replies
5/10board: altera: Stratix10: Add board_get_usable_ram_top()board/altera/stratix10-socdk/socfpga.c+12 -04 replies
6/10board: altera: Stratix10: Add ft_board_setup()board/altera/stratix10-socdk/socfpga.c+25 -02 replies
7/10arm: socfpga: Enable OF_BOARD_SETUP for Stratix 10arch/arm/mach-socfpga/Kconfig+1 -00 replies
8/10configs: stratix10: Change CONFIG_NR_DRAM_BANKS to 2configs/socfpga_stratix10_defconfig+1 -10 replies
9/10arm: 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
10/10ddr: altera: Stratix10: Add ECC memory scrubbingarch/arm/mach-socfpga/include/mach/sdram_s10.h drivers/ddr/altera/sdram_s10.c+85 -05 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [U-Boot] [PATCH 00/10] Update Stratix 10 SDRAM driver

This patchset update Stratix 10 SDRAM driver to support:
- Multi-banks memory (Patch [1-8])
- 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, to use in patch [10] (Patch[9])
- Add ECC memory scrubbing support (Patch [10])
- Use cache enabled + "DC ZVA" instruction to clear memory to zeros

Ley Foon Tan (10):
ddr: altera: stratix10: Move SDRAM size check to SDRAM driver
arm: socfpga: Add sdram_s10.h to sdram.h
ddr: altera: s10: Add multiple memory banks support
arm: socfpga: Update dram_init_banksize() for Stratix10
board: altera: Stratix10: Add board_get_usable_ram_top()
board: altera: Stratix10: Add ft_board_setup()
arm: socfpga: Enable OF_BOARD_SETUP for Stratix 10
configs: stratix10: Change CONFIG_NR_DRAM_BANKS to 2
arm: socfpga: stratix10: Add cpu_has_been_warmreset()
ddr: altera: Stratix10: Add ECC memory scrubbing

 arch/arm/mach-socfpga/Kconfig                 |   1 +
 arch/arm/mach-socfpga/board.c                 |  16 +-
 .../include/mach/reset_manager_s10.h          |   3 +
 arch/arm/mach-socfpga/include/mach/sdram.h    |   2 +
 .../arm/mach-socfpga/include/mach/sdram_s10.h |  10 +
 arch/arm/mach-socfpga/reset_manager_s10.c     |   9 +
 arch/arm/mach-socfpga/spl_s10.c               |  11 --
 board/altera/stratix10-socdk/socfpga.c        |  37 ++++
 configs/socfpga_stratix10_defconfig           |   2 +-
 drivers/ddr/altera/sdram_s10.c                | 178 ++++++++++++++++++
 10 files changed, 256 insertions(+), 13 deletions(-)
Signature · 1 line
2.19.0