fit: Allow external data for FDTs
PATCH 1/1 fit: Allow external data for FDTs
Switch to fit_image_get_data_and_size() for consistency with all other data loaded from FIT.
Signed-off-by John Keeping <[email protected]>
--- common/image-fit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
common/image-fit.c +2 -1
@@ -1772,7 +1772,8 @@ int fit_conf_find_compat(const void *fit, const void *fdt) }/* search in this config's kernel FDT */ -if (fit_image_get_data (fit, kfdt_noffset, &fdt, &sz)) { +if (fit_image_get_data_and_size (fit, kfdt_noffset, + &fdt, &sz)) {debug ("Failed to get fdt \"%s\".\n" , kfdt_name);continue ; }
Signature · 1 line
2.32.0
Quoted 8 lines · John Keeping
Switch to
fit_image_get_data_and_size()for consistency with all other data loaded from FIT.Signed-off-by John Keeping <[email protected]>--- common/image-fit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by Simon Glass <[email protected]>
Quoted 5 lines · John Keeping
Switch to
fit_image_get_data_and_size()for consistency with all other data loaded from FIT.Signed-off-by John Keeping <[email protected]>Reviewed-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom