[U-Boot] [PATCH] fpga: Add support for getting external data address and length
Michal Simek
michal.simek at xilinx.com
Mon Feb 18 12:26:32 UTC 2019
On 12. 02. 19 13:41, tien.fong.chee at intel.com wrote:
> From: Tien Fong Chee <tien.fong.chee at intel.com>
>
> This function supports getting both data address and length for
> existing FPGA subimage and FPGA external data.
>
> Signed-off-by: Tien Fong Chee <tien.fong.chee at intel.com>
> ---
> cmd/fpga.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/cmd/fpga.c b/cmd/fpga.c
> index 88a8e3f..b1f224b 100644
> --- a/cmd/fpga.c
> +++ b/cmd/fpga.c
> @@ -343,9 +343,9 @@ static int do_fpga_loadmk(cmd_tbl_t *cmdtp, int flag, int argc,
> return CMD_RET_FAILURE;
> }
>
> - /* get fpga subimage data address and length */
> - if (fit_image_get_data(fit_hdr, noffset, &fit_data,
> - &data_size)) {
> + /* get fpga subimage/external data address and length */
> + if (fit_image_get_data_and_size(fit_hdr, noffset,
> + &fit_data, &data_size)) {
> puts("Fpga subimage data not found\n");
> return CMD_RET_FAILURE;
> }
>
Reviewed-by: Michal Simek <michal.simek at xilinx.com>
also applied to my tree.
Thanks,
Michal
More information about the U-Boot
mailing list