mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-20 21:51:20 +00:00
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 <john@metanate.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
7cb31e399e
commit
650bf008e5
1 changed files with 2 additions and 1 deletions
|
@ -1777,7 +1777,8 @@ int fit_conf_find_compat(const void *fit, const void *fdt)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* search in this config's kernel 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);
|
debug("Failed to get fdt \"%s\".\n", kfdt_name);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue