
On 07/18/2018 04:18 PM, Michal Simek wrote:
On 18.7.2018 16:15, Marek Vasut wrote:
On 07/18/2018 04:00 PM, Michal Simek wrote:
On 18.7.2018 14:54, Marek Vasut wrote:
On 07/18/2018 02:51 PM, Michal Simek wrote:
There shouldn't be a need to call private spl_load_fpga_image() because the whole sequence should be already handled by fpga_load(). The patch let spl_load_fit_image() to load data to right location based on "load" property in FIT and then call fpga_load().
NAK
This breaks Arria10, sorry. The private loading function is needed on Arria10 as the whole bitstream is not available in RAM and needs to be loaded piece by piece, see [1]
[1] http://git.denx.de/?p=u-boot/u-boot-socfpga.git;a=blobdiff;f=arch/arm/mach-s...
[...]
The second solution is to check if load address is not 0 and call fpga_load only for that. In this case there is a need to check size for SPL.
0 is a valid load address, so no.
Then new Kconfig option is another way to go now.
No, the firmware loader is a way to go. Sadly, it's still work in progress.