mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 18:28:55 +00:00
37feaf2f72
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> |
||
---|---|---|
.. | ||
android_ab.c | ||
boot_fit.c | ||
bootdev-uclass.c | ||
bootflow.c | ||
bootm.c | ||
bootm_os.c | ||
bootmeth-uclass.c | ||
bootmeth_distro.c | ||
bootmeth_efi.c | ||
bootmeth_efi_mgr.c | ||
bootmeth_pxe.c | ||
bootmeth_sandbox.c | ||
bootmeth_script.c | ||
bootretry.c | ||
bootstd-uclass.c | ||
common_fit.c | ||
fdt_region.c | ||
image-android-dt.c | ||
image-android.c | ||
image-board.c | ||
image-cipher.c | ||
image-fdt.c | ||
image-fit-sig.c | ||
image-fit.c | ||
image-host.c | ||
image-pre-load.c | ||
image-sig.c | ||
image.c | ||
Kconfig | ||
Makefile | ||
pxe_utils.c | ||
vbe.c | ||
vbe_simple.c |