
On 5/6/19 3:55 AM, Ley Foon Tan wrote:
Compile ALTERA_SDRAM driver in SPL only and move Stratix 10 SDRAM driver to DM.
v4->v5:
- Rebase patches to u-boot/master branch.
v3 -> v4:
- Add CONFIG_SPL_ALTERA_SDRAM to config_whitelist.txt in patch [1/3] and remove it in patch [3/3]
- Remove _remove().
- Update commit message in patch [2/3]
v2->v3:
- Compile ALTERA_SDRAM driver in SPL only
- Separate dts change to new patch
- Change to use #if CONFIG_IS_ENABLED(ALTERA_SDRAM)
- Add _remove()
- Remove #ifdef CONFIG_SPL_BUILD checking in sdram_s10.c
History:
Ley Foon Tan (3): ddr: altera: Compile ALTERA SDRAM in SPL only arm: dts: Stratix10: Add SDRAM node arm: socfpga: Move Stratix 10 SDRAM driver to DM
Makefile | 2 +- arch/arm/dts/socfpga_stratix10.dtsi | 9 + arch/arm/mach-socfpga/Kconfig | 4 +- arch/arm/mach-socfpga/spl_s10.c | 16 +- configs/socfpga_stratix10_defconfig | 1 + drivers/Makefile | 2 +- drivers/ddr/altera/Kconfig | 11 +- drivers/ddr/altera/Makefile | 2 +- drivers/ddr/altera/sdram_s10.c | 243 ++++++++++++------ .../mach => drivers/ddr/altera}/sdram_s10.h | 4 - include/configs/socfpga_stratix10_socdk.h | 5 - 11 files changed, 200 insertions(+), 99 deletions(-) rename {arch/arm/mach-socfpga/include/mach => drivers/ddr/altera}/sdram_s10.h (97%)
Applied all to master, thanks!