u-boot/boot
Sean Anderson 37feaf2f72 image: fit: Add some helpers for getting data
Several different firmware users have repetitive code to extract the
firmware data from a FIT. Add some helper functions to reduce the amount
of repetition. fit_conf_get_prop_node (eventually) calls
fdt_check_node_offset_, so we can avoid an explicit if. In general, this
version avoids printing on error because the callers are typically
library functions, and because the FIT code generally has (debug)
prints of its own. One difference in these helpers is that they use
fit_image_get_data_and_size instead of fit_image_get_data, as the former
handles external data correctly.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2022-09-07 13:40:44 +08:00
..
android_ab.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
boot_fit.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
bootdev-uclass.c bootstd: Allow the bootdev to be optional in bootflows 2022-08-12 08:17:11 -04:00
bootflow.c bootstd: Allow scanning for global bootmeths separately 2022-08-12 08:17:11 -04:00
bootm_os.c bootm: Tidy up use of autostart env var 2021-11-16 14:35:09 -05:00
bootm.c bootm: Fix upper bound of FDT overlap checks 2022-08-31 12:21:47 -04:00
bootmeth_distro.c Rename disto_[pxe_]getfile to distro_[pxe_]getfile 2022-08-26 16:33:48 -06:00
bootmeth_efi_mgr.c bootstd: Allow EFI bootmgr to support an invalid bootflow 2022-08-12 08:17:10 -04:00
bootmeth_efi.c bootstd: Add an implementation of EFI boot 2022-04-25 10:00:04 -04:00
bootmeth_pxe.c Rename disto_[pxe_]getfile to distro_[pxe_]getfile 2022-08-26 16:33:48 -06:00
bootmeth_sandbox.c bootstd: Add a sandbox bootmeth driver 2022-04-25 10:00:04 -04:00
bootmeth_script.c bootstd: Add an implementation of script boot 2022-04-25 10:00:04 -04:00
bootmeth-uclass.c bootstd: Allow scanning for global bootmeths separately 2022-08-12 08:17:11 -04:00
bootretry.c Convert CONFIG_BOOT_RETRY_TIME et al to Kconfig 2022-03-18 12:48:17 -04:00
bootstd-uclass.c bootstd: Drop the system bootdev 2022-08-12 08:17:11 -04:00
common_fit.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
fdt_region.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
image-android-dt.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
image-android.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-board.c common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
image-cipher.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-fdt.c Convert CONFIG_SYS_FDT_PAD to Kconfig 2022-08-12 16:10:50 -04:00
image-fit-sig.c tools: Pass the key blob around 2022-01-26 08:50:44 -07:00
image-fit.c image: fit: Add some helpers for getting data 2022-09-07 13:40:44 +08:00
image-host.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-pre-load.c boot: image-pre-load: drop unused CONFIG_SYS_BOOTM_LEN 2022-06-06 17:47:16 -04:00
image-sig.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image.c common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
Kconfig vbe: Support VBE simple 2022-08-12 08:17:11 -04:00
Makefile vbe: Support VBE simple 2022-08-12 08:17:11 -04:00
pxe_utils.c boot: allow bootmeth-distro without CONFIG_NET 2022-08-10 13:42:56 -06:00
vbe_simple.c boot: simplify bootmeth_vbe_simple_ft_fixup() 2022-08-26 16:32:59 -06:00
vbe.c boot: fix vbe_find_first_device() 2022-08-26 16:32:59 -06:00