mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 17:10:11 +00:00
c5819701a3
At present this function does not accept a size for the FIT. This means that it must be read from the FIT itself, introducing potential security risk. Update the function to include a size parameter, which can be invalid, in which case fit_check_format() calculates it. For now no callers pass the size, but this can be updated later. Also adjust the return value to an error code so that all the different types of problems can be distinguished by the user. Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Bruce Monroe <bruce.monroe@intel.com> Reported-by: Arie Haenel <arie.haenel@intel.com> Reported-by: Julien Lenoir <julien.lenoir@intel.com> |
||
---|---|---|
.. | ||
dpio | ||
dpbp.c | ||
dpmac.c | ||
dpmng.c | ||
dpni.c | ||
dprc.c | ||
dpsparser.c | ||
fsl_dpmng_cmd.h | ||
Kconfig | ||
Makefile | ||
mc.c | ||
mc_sys.c |