
From: Tien Fong Chee tien.fong.chee@intel.com
The purpose of this patchset provides example of using the generic FS loader which is currently under review at /data/tfchee/a10_upstreaming/mainstream/17_1_18/patches/firmware_loader_usage .
Basically, the whole machanism is working in two ways: 1. SPL -> spl_board_init -> fpga_fsload -> socfpga_loadfs -> fs_flash_preinit( process rbf mkimage header with loader) -> init FPGA -> chunk by chunk to program FPGA using loader
The patchset include this : 2. U-Boot console -> fpga loadfs command -> fpga_fsload -> socfpga_loadfs -> fs_flash_preinit(process rbf mkimage header with loader) -> init FPGA -> chunk by chunk to program FPGA using loader
Tien Fong Chee (3): ARM: socfpga: Add FPGA drivers for Arria 10 FPGA loadfs enable fpga loadfs arm: socfpga: Add Arria 10 SoCFPGA programming interface
arch/arm/dts/socfpga_arria10.dtsi | 12 + arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts | 6 + .../include/mach/fpga_manager_arria10.h | 22 + cmd/fpga.c | 2 +- configs/socfpga_arria10_defconfig | 12 + drivers/fpga/altera.c | 41 ++- drivers/fpga/fpga.c | 8 + drivers/fpga/socfpga_arria10.c | 402 ++++++++++++++++++++ include/altera.h | 6 + include/fpga.h | 2 + 10 files changed, 504 insertions(+), 9 deletions(-)