]> git.baikalelectronics.ru Git - uboot.git/commit
spl: fit: Add support for loading FPGA bitstream
authorMarek Vasut <marex@denx.de>
Sat, 12 May 2018 20:25:28 +0000 (22:25 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 24 May 2018 02:05:54 +0000 (22:05 -0400)
commit7c2bef70fe01e6443d4d8558ddb15a8f42c8f891
tree1a81ef88824375974c41211f25c3d0b9dfbedbfe
parent7d1611db12182b229d7777c0cf94798417398d15
spl: fit: Add support for loading FPGA bitstream

Add support for loading FPGA into the SPL fitImage support. The
mechanism is flexible and allows user to override the actual
function for loading the FPGA itself. This is because on some
systems, the FPGA must be programmed to allow DRAM access, so
loading the full fitImage may not be possible if it contains
the bitstream. Instead, the spl_load_fpga_image() provides all
the tools to load the bitstream in parts while programming it
into the FPGA.

Signed-off-by: Marek Vasut <marex@denx.de>
[trini: Don't always have a branch to print out type]
Signed-off-by: Tom Rini <trini@konsulko.com>
common/spl/spl_fit.c