diff options
| author | Lokesh Vutla <[email protected]> | 2021-06-11 11:45:05 +0300 |
|---|---|---|
| committer | Lokesh Vutla <[email protected]> | 2021-06-11 16:34:52 +0530 |
| commit | 481d394e77915201e4ecc2d98e9cc2fbc3224991 (patch) | |
| tree | e70d92237caeb8a26ccaae28cd2702aea53e4290 /common/spl | |
| parent | 25805b6f0cf29cbb8db15ae2f0d4801c2f349985 (diff) | |
common: fit: Update board_fit_image_post_process() to pass fit and node_offset
board_fit_image_post_process() passes only start and size of the image,
but type of the image is not passed. So pass fit and node_offset, to
derive information about image to be processed.
Signed-off-by: Lokesh Vutla <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Signed-off-by: Tero Kristo <[email protected]>
Diffstat (limited to 'common/spl')
| -rw-r--r-- | common/spl/spl_fit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c index caddf511967..57d621d5b3c 100644 --- a/common/spl/spl_fit.c +++ b/common/spl/spl_fit.c @@ -320,7 +320,7 @@ static int spl_load_fit_image(struct spl_load_info *info, ulong sector, } if (CONFIG_IS_ENABLED(FIT_IMAGE_POST_PROCESS)) - board_fit_image_post_process(&src, &length); + board_fit_image_post_process(fit, node, &src, &length); load_ptr = map_sysmem(load_addr, length); if (IS_ENABLED(CONFIG_SPL_GZIP) && image_comp == IH_COMP_GZIP) { |
