[U-Boot] [PATCH v8 0/7] Add Intel Arria 10 SoC FPGA driver

tien.fong.chee at intel.com
2017-06-06T06:35:52Z

From: Tien Fong Chee <tien.fong.chee@intel.com>

This is the 8th version of patchset to adds support for Intel Arria 10 SoC FPGA
driver. This version mainly resolved comments from Marek in [v7] and pulling in
the Intel related FPGA Kconfig conversion patch into this patchset.
This series is working on top of u-boot-socfpga.git - http://git.denx.de/u-boot-socfpga.git

[v7]: https://www.mail-archive.com/u-boot at lists.denx.de/msg251213.html

v7 -> v8 changes:
-----------------
- Pull in the Intel related FPGA Kconfig convertion patch into this patchset
- Changed SPL_FPGA_SUPPORT Macro config header into Kconfig
- Improved the git commit message on patch 5, which has explanation why FPGA build
must be enabled in SPL before applying patch 6 to avoid build failed when the expected
functions in driver/fpga/ is not availabled in SPL.

Patchset history
----------------
[v1]: https://www.mail-archive.com/u-boot at lists.denx.de/msg247788.html
[v2]: https://www.mail-archive.com/u-boot at lists.denx.de/msg248541.html
[v3]: https://www.mail-archive.com/u-boot at lists.denx.de/msg249160.html
[v4]: https://www.mail-archive.com/u-boot at lists.denx.de/msg250149.html
[v5]: https://www.mail-archive.com/u-boot at lists.denx.de/msg250517.html
[v6]: https://www.mail-archive.com/u-boot at lists.denx.de/msg250687.html

Tien Fong Chee (7):
arm: socfpga: Remove unused passing parameter of socfpga_bridges_reset
arm: socfpga: Restructure FPGA driver in the preparation to support
A10
arm: socfpga: Convert all Intel related FPGA configuration to Kconfig
arm: socfpga: Enable FPGA driver on SPL
drivers: Enable FPGA driver build on SPL
arm: socfpga: Move FPGA manager driver to FPGA driver
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 +--
.../include/mach/fpga_manager_arria10.h | 100 +++++
.../mach/{fpga_manager.h => fpga_manager_gen5.h} | 69 ++-
.../include/mach/reset_manager_arria10.h | 2 +-
arch/arm/mach-socfpga/reset_manager_arria10.c | 4 +-
configs/astro_mcf5373l_defconfig | 1 +
configs/socfpga_arria10_defconfig | 2 +
configs/socfpga_arria5_defconfig | 2 +
configs/socfpga_cyclone5_defconfig | 2 +
configs/socfpga_de0_nano_soc_defconfig | 2 +
configs/socfpga_de10_nano_defconfig | 2 +
configs/socfpga_de1_soc_defconfig | 2 +
configs/socfpga_is1_defconfig | 2 +
configs/socfpga_mcvevk_defconfig | 2 +
configs/socfpga_sockit_defconfig | 2 +
configs/socfpga_socrates_defconfig | 2 +
configs/socfpga_sr1500_defconfig | 2 +
configs/socfpga_vining_fpga_defconfig | 2 +
configs/theadorable_debug_defconfig | 1 +
configs/theadorable_defconfig | 1 +
drivers/Makefile | 1 +
drivers/fpga/Kconfig | 8 +
drivers/fpga/Makefile | 2 +
drivers/fpga/socfpga.c | 241 +----------
drivers/fpga/socfpga_arria10.c | 479 +++++++++++++++++++++
drivers/fpga/{socfpga.c => socfpga_gen5.c} | 98 ++---
include/configs/astro_mcf5373l.h | 2 -
include/configs/socfpga_common.h | 6 +-
include/configs/theadorable.h | 2 -
31 files changed, 719 insertions(+), 471 deletions(-)
delete mode 100644 arch/arm/mach-socfpga/fpga_manager.c
create mode 100644 arch/arm/mach-socfpga/include/mach/fpga_manager_arria10.h
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} (85%)

--
2.2.0