]> git.baikalelectronics.ru Git - uboot.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)
commit51cbbffb3561be63cd4d195bff65cfa365abd366
treee9583a71b1902dfc853176afcf2a6f849a2f3d06
parent9a3b126ef3dd947ee57ef3640eaad56e5589692e
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