]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: fit: Pass FIT context via a structure pointer
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Wed, 20 Jan 2021 16:46:51 +0000 (10:46 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 18 Feb 2021 00:46:42 +0000 (19:46 -0500)
commit3dc2079733bba47ad1b72041010edab328bdcef6
treee9583a71b1902dfc853176afcf2a6f849a2f3d06
parent917fa369f6fbdc2011e500fbeea0e07ba70af9c3
spl: fit: Pass FIT context via a structure pointer

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>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/spl/spl_fit.c