[PATCH 3/8] spl: fit: Pass FIT context via a structure pointer

Simon Glass
2020-12-19T02:28:59Z

On Tue, 15 Dec 2020 at 17:09, Alexandru Gagniuc <mr.nuke.me@gmail.com> wrote:
>
> Several loose arguments describe the FIT image. They are thus related,
> and it makes sense to pass them together, in a structure. Examples
> include the FIT blob pointer, offset to FDT nodes, and the offset to
> external data.
>
> Use a spl_fit_info structure to group these parameters.
>
> Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
> ---
> common/spl/spl_fit.c | 101 ++++++++++++++++++-------------------------
> 1 file changed, 43 insertions(+), 58 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>