
Compile ALTERA_SDRAM driver in SPL only and move Stratix 10 SDRAM driver to DM.
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: -------- [v1]: https://patchwork.ozlabs.org/patch/1066765/ [v2]: https://patchwork.ozlabs.org/patch/1089957/
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 | 251 ++++++++++++------ .../mach => drivers/ddr/altera}/sdram_s10.h | 4 - include/configs/socfpga_stratix10_socdk.h | 5 - 11 files changed, 208 insertions(+), 99 deletions(-) rename {arch/arm/mach-socfpga/include/mach => drivers/ddr/altera}/sdram_s10.h (97%)