u-boot/drivers/net/fsl-mc
Simon Glass c5819701a3 image: Adjust the workings of fit_check_format()
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>
2021-02-15 22:31:52 -05:00
..
dpio common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
dpbp.c driver: net: fsl-mc: updated copyright info 2018-05-09 09:17:51 -05:00
dpmac.c driver: net: fsl-mc: updated copyright info 2018-05-09 09:17:51 -05:00
dpmng.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dpni.c driver: net: fsl-mc: updated copyright info 2018-05-09 09:17:51 -05:00
dprc.c driver: net: fsl-mc: updated copyright info 2018-05-09 09:17:51 -05:00
dpsparser.c drivers/fsl-mc: Support DPSPARSER object and apply spb command 2019-12-26 16:00:20 +05:30
fsl_dpmng_cmd.h driver: net: fsl-mc: updated copyright info 2018-05-09 09:17:51 -05:00
Kconfig armv8: lx2162a: Add Soc changes to support LX2162A 2020-12-10 13:56:39 +05:30
Makefile drivers/fsl-mc: Support DPSPARSER object and apply spb command 2019-12-26 16:00:20 +05:30
mc.c image: Adjust the workings of fit_check_format() 2021-02-15 22:31:52 -05:00
mc_sys.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00