]> git.dujemihanovic.xyz Git - u-boot.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)
commit26a642238bdecc53527142dc043b29e21c5cc94c
tree1a81ef88824375974c41211f25c3d0b9dfbedbfe
parentb11ed7d602a48021d8ab96518ad80996d2b86077
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