u-boot/arch/arm
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
..
cpu image: Adjust the workings of fit_check_format() 2021-02-15 22:31:52 -05:00
dts arm: Remove db-88f6281-bp board 2021-02-15 10:11:38 -05:00
include Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
lib Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
mach-aspeed common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-at91 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-bcm283x common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-bcmstb
mach-cortina
mach-davinci common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-exynos common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-highbank
mach-imx Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
mach-integrator
mach-ipq40xx
mach-k3 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-keystone
mach-kirkwood arm: Remove db-88f6281-bp board 2021-02-15 10:11:38 -05:00
mach-lpc32xx
mach-mediatek common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-meson common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-mvebu common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-nexell common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-octeontx common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-octeontx2 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-omap2 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-orion5x common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-owl common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-qemu
mach-rmobile Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
mach-rockchip Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
mach-s5pc1xx
mach-snapdragon common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-socfpga common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-sti
mach-stm32
mach-stm32mp common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-sunxi sunxi: Add support for H616 SoC 2021-01-25 21:52:01 +00:00
mach-tegra common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-u8500
mach-uniphier common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-versal common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-versatile
mach-zynq common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-zynqmp common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-zynqmp-r5 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
thumb1/include/asm/proc-armv
Kconfig arm: Remove ls2080a_simu board 2021-02-15 10:11:38 -05:00
Kconfig.debug
Makefile
config.mk