[U-Boot] [RFC PATCH 4/4] arm: zynq: spl: implement FPGA load from FIT
Luis Araneda
luaraneda at gmail.com
Wed Jul 18 18:14:58 UTC 2018
Hi Michal,
On Wed, Jul 18, 2018 at 9:22 AM Michal Simek <michal.simek at xilinx.com> wrote:
> I was playing with this a little bit. There is no reason to allocate
> any space in malloc area because its/fit should already contain load
> address which you should use instead.
I initially thought the same, but unfortunately the load address is
not a parameter passed to the function, nor can it be extracted from
the spl_load_info structure.
Like you have probably discovered by now, the spl_load_fpga_image()
function was introduced to support the use case of boards with
uninitialized DRAM, so the load address was not necessary.
On the other hand, the zynpl driver doesn't have functions to program
the FPGA by chunks, so I had to allocate memory.
Thanks,
Luis Araneda.
More information about the U-Boot
mailing list