mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +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> |
||
---|---|---|
.. | ||
ACEX1K.c | ||
altera.c | ||
cyclon2.c | ||
fpga.c | ||
intel_sdm_mb.c | ||
ivm_core.c | ||
Kconfig | ||
lattice.c | ||
Makefile | ||
socfpga.c | ||
socfpga_arria10.c | ||
socfpga_gen5.c | ||
spartan2.c | ||
spartan3.c | ||
stratixII.c | ||
stratixv.c | ||
versalpl.c | ||
virtex2.c | ||
xilinx.c | ||
zynqmppl.c | ||
zynqpl.c |