
From: Tien Fong Chee tien.fong.chee@intel.com
This is the 2nd version of patchset to adds support for Intel Arria 10 SoC FPGA driver. This version mainly resolved comments from Marek in [v1].This series is working on top of u-boot-socfpga-next branch http://git.denx.de/?p=u-boot/u-boot-socfpga.git;a=shortlog;h=refs/heads/next.
[1]: https://www.mail-archive.com/u-boot@lists.denx.de/msg247788.html
v1 -> v2 changes: ----------------- - Pulled the convert FPGA to kconfig patch out of this patchset, will submit as separate patch after this patchset. - Resolved duplicate fpgamgr_program_write() in both gen5 and arria10.
Patchset history ---------------- [v1]: https://www.mail-archive.com/u-boot@lists.denx.de/msg247788.html
Tien Fong Chee (5): arm: socfpga: Remove unused passing parameter of socfpga_bridges_reset arm: socfpga: Restructure FPGA driver in the preparation to support A10. arm: socfpga: Move FPGA manager driver to FPGA driver arm: socfpga: Move the FPGA driver header from arch/arm to include/ arm: socfpga: Add FPGA driver support for Arria 10
arch/arm/mach-socfpga/Makefile | 1 - arch/arm/mach-socfpga/fpga_manager.c | 78 ---- arch/arm/mach-socfpga/include/mach/fpga_manager.h | 70 +-- .../mach/{fpga_manager.h => fpga_manager_gen5.h} | 69 ++- .../include/mach/reset_manager_arria10.h | 2 +- arch/arm/mach-socfpga/reset_manager_arria10.c | 6 +- arch/arm/mach-socfpga/reset_manager_gen5.c | 5 +- arch/arm/mach-socfpga/system_manager_gen5.c | 2 +- drivers/Makefile | 1 + drivers/ddr/altera/sdram.c | 5 +- drivers/fpga/Makefile | 2 + drivers/fpga/socfpga.c | 242 +---------- drivers/fpga/socfpga_arria10.c | 482 +++++++++++++++++++++ drivers/fpga/{socfpga.c => socfpga_gen5.c} | 103 +++-- include/intel_socfpga/fpga_manager.h | 39 ++ include/intel_socfpga/fpga_manager_arria10.h | 105 +++++ .../intel_socfpga/fpga_manager_gen5.h | 69 ++- 17 files changed, 769 insertions(+), 512 deletions(-) delete mode 100644 arch/arm/mach-socfpga/fpga_manager.c copy arch/arm/mach-socfpga/include/mach/{fpga_manager.h => fpga_manager_gen5.h} (57%) create mode 100644 drivers/fpga/socfpga_arria10.c copy drivers/fpga/{socfpga.c => socfpga_gen5.c} (83%) create mode 100644 include/intel_socfpga/fpga_manager.h create mode 100644 include/intel_socfpga/fpga_manager_arria10.h copy arch/arm/mach-socfpga/include/mach/fpga_manager.h => include/intel_socfpga/fpga_manager_gen5.h (57%)