[U-Boot] [PATCH 00/19] Add FPGA, SDRAM drivers and booting to U-boot

tien.fong.chee at intel.com
2017-08-29T10:45:42Z

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

This patchset adding FPGA and SDRAM drivers, enable fpga loadfs and booting
to U-boot console.

This series is working on top of u-boot.git - http://git.denx.de/u-boot.git

Tien Fong Chee (19):
configs: Add FPGA loadfs config for Arria 10
configs: Add FAT fs support for SPL
arm: socfpga: Add driver for flash to program FPGA
arm: socfpga: Add FPGA loadfs command support
arm: socfpga: Enhance FPGA program support with at least 4 byte data
arm: socfpga: Rename the gen5 sdram driver to more specific name
arm: socfpga: Add DRAM bank size initialization function
arm: socfpga: Add COMPAT macro for Network on Chip(NoC)
arm: socfpga: Add DDR driver for Arria 10
configs: Add DDR Kconfig support for Arria 10
arm: socfpga: Enable build for DDR Arria 10
doc: dtbinding: Add Intel Arria 10 SoCFPGA chosen binding
dts: Add the FPGA design file name to DTS
dts: Add device storage and partition to DTS
arm: socfpga: Add support to memory allocation in SPL
arm: socfpga: Enhance Intel SoCFPGA program header to support Arria
10
arm: socfpga: Adding clock frequency info for U-boot
arm: socfpga: Adding SoCFPGA info for both SPL and U-boot
arm: socfpga: Enable SPL loading U-boot to DDR and booting U-boot

.../dts/socfpga_arria10_socdk_sdmmc_handoff.dtsi | 5 +-
arch/arm/mach-socfpga/Kconfig | 1 +
arch/arm/mach-socfpga/board.c | 21 +
arch/arm/mach-socfpga/include/mach/boot0.h | 9 +-
.../include/mach/fpga_manager_arria10.h | 27 +
arch/arm/mach-socfpga/include/mach/sdram.h | 438 +------------
arch/arm/mach-socfpga/include/mach/sdram_arria10.h | 103 +++-
.../include/mach/{sdram.h => sdram_gen5.h} | 6 +-
arch/arm/mach-socfpga/misc_arria10.c | 5 -
arch/arm/mach-socfpga/spl.c | 93 +++
cmd/fpga.c | 2 +-
common/spl/spl_mmc.c | 2 +-
configs/socfpga_arria10_defconfig | 49 ++-
disk/part.c | 2 +
doc/device-tree-bindings/chosen.txt | 45 ++
drivers/ddr/altera/Kconfig | 2 +-
drivers/ddr/altera/Makefile | 3 +-
drivers/ddr/altera/sdram_arria10.c | 735 ++++++++++++++++++++
drivers/ddr/altera/{sdram.c => sdram_gen5.c} | 0
drivers/fpga/altera.c | 38 +-
drivers/fpga/fpga.c | 8 +
drivers/fpga/socfpga.c | 14 +-
drivers/fpga/socfpga_arria10.c | 386 ++++++++++-
include/altera.h | 6 +
include/configs/socfpga_common.h | 28 +-
include/fdtdec.h | 1 +
include/fpga.h | 2 +
include/spl.h | 2 +
lib/fdtdec.c | 1 +
29 files changed, 1569 insertions(+), 465 deletions(-)
copy arch/arm/mach-socfpga/include/mach/{sdram.h => sdram_gen5.h} (99%)
create mode 100644 drivers/ddr/altera/sdram_arria10.c
rename drivers/ddr/altera/{sdram.c => sdram_gen5.c} (100%)

--
1.7.7.4