diff options
author | Tien Fong Chee <tien.fong.chee@intel.com> | 2019-02-12 20:41:34 +0800 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2019-04-16 11:51:33 +0200 |
commit | 9184c92f46da7a0cd53a806046e56911b61c90e2 (patch) | |
tree | 3f5b178ad00d6f5b9421ea0bf991cf4cbfb47bff | |
parent | 216800acf1fbf9f498455bf3c92d4513d9a4c681 (diff) | |
download | u-boot-9184c92f46da7a0cd53a806046e56911b61c90e2.tar.gz |
fpga: Add support for getting external data address and length
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@intel.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r-- | cmd/fpga.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/fpga.c b/cmd/fpga.c index 88a8e3f318..b1f224bc6a 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; } |