[U-Boot] [PATCH v8 0/5] Stratix10 FPGA reconfiguration support

chee.hong.ang at intel.com chee.hong.ang at intel.com
Thu Dec 20 02:35:11 UTC 2018


From: "Ang, Chee Hong" <chee.hong.ang at intel.com>

Forked latest master branch from u-boot (github) and applied these 5
patches on top of it and test build with Travis CI.

Travis CI report:
https://travis-ci.org/JeremyAngCH/u-boot/jobs/470074691

New changes:
- Add new dependency patch (1/5) to support the common FPGA configuration
  functions to resolve build errors

History of changes:
- Fix compilation warnings/errors in stratix10.c
- Fix misplace of FPGA data structure in misc_arria10.c
- socfpga_fpga_add() in misc.c
- Add FPGA structure for Arria10, Cyclone5 and Stratix10 platforms
- removed for-loop in socfpga_fpga_add() (only 1 FPGA device added)
- Removed CONFIG_FPGA_STRATIX10 from defconfig
- select CONFIG_FPGA_STRATIX10 when build for Stratix10 platform

Ang, Chee Hong (5):
  arm: socfpga: stratix10: Add generic FPGA reconfig mailbox API for S10
  arm: socfpga: stratix10: Add macros for mailbox's arguments
  arm: socfpga: stratix10: Add Stratix 10 FPGA Reconfiguration Driver
  arm: socfpga: stratix10: Add Stratix10 FPGA into FPGA device table
  arm: socfpga: stratix10: Enable Stratix10 FPGA Reconfiguration

 arch/arm/mach-socfpga/Kconfig                    |   1 +
 arch/arm/mach-socfpga/include/mach/mailbox_s10.h |   9 +-
 arch/arm/mach-socfpga/include/mach/misc.h        |   4 +-
 arch/arm/mach-socfpga/mailbox_s10.c              |  48 ++++
 arch/arm/mach-socfpga/misc.c                     |  26 +-
 arch/arm/mach-socfpga/misc_arria10.c             |  23 +-
 arch/arm/mach-socfpga/misc_gen5.c                |  22 +-
 arch/arm/mach-socfpga/misc_s10.c                 |  22 ++
 drivers/fpga/Kconfig                             |  11 +
 drivers/fpga/Makefile                            |   1 +
 drivers/fpga/altera.c                            |   6 +
 drivers/fpga/stratix10.c                         | 288 +++++++++++++++++++++++
 include/altera.h                                 |   8 +
 13 files changed, 440 insertions(+), 29 deletions(-)
 create mode 100644 drivers/fpga/stratix10.c

-- 
2.7.4



More information about the U-Boot mailing list