cmd: ximg.c: Add support for getting external data address and length
PATCH 1/1 cmd: ximg.c: Add support for getting external data address and length
From: Tien Fong Chee <[email protected]>
This function supports getting both data address and length for existing FIT subimage and FIT external data.
Signed-off-by Tien Fong Chee <[email protected]>
--- cmd/ximg.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
cmd/ximg.c +3 -3
@@ -159,9 +159,9 @@ do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]) } } -/* get subimage data address and length */ -if (fit_image_get_data (fit_hdr, noffset, - &fit_data, &fit_len)) { +/* get subimage/external data address and length */ +if (fit_image_get_data_and_size (fit_hdr, noffset, + &fit_data, &fit_len)) {puts ("Could not find script subimage data\n" );return 1 ; }
Signature · 1 line
1.7.7.4
Quoted 6 lines · tien.fong.chee at intel.com
From: Tien Fong Chee <[email protected]>
This function supports getting both data address and length for existing FIT subimage and FIT external data.
Signed-off-by Tien Fong Chee <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190424/ca53aa4c/attachment.sig>