u-boot-brain/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 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
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 dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mach-k3 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-keystone serial: Rename ns16550 functions to lower case 2021-01-05 12:24:40 -07:00
mach-kirkwood arm: Remove db-88f6281-bp board 2021-02-15 10:11:38 -05:00
mach-lpc32xx dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07:00
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 qemu: arm: Initialise virtio devices in board_late_init 2020-12-31 14:41:31 +01:00
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 common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
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 treewide: Update email address Patrick Delaunay and Patrice Chotard 2020-12-09 10:57:50 +01:00
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 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
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 arm: octeontx2: Add support for OcteonTX2 SoC platforms 2020-08-25 08:01:16 +02:00
config.mk Makefile: Rename ALL-y to INPUTS-y 2020-07-28 19:30:39 -06:00