diff options
author | John Keeping <john@metanate.com> | 2021-06-25 17:58:04 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-23 07:13:25 -0400 |
commit | 650bf008e57a98cd6fa89839d48561dfdc5c51e7 (patch) | |
tree | bcb9e0fefd66e5fb5944fc3745cef856bc722071 | |
parent | 7cb31e399e46a74d1d46e8b64598d86018fa4e0b (diff) | |
download | u-boot-650bf008e57a98cd6fa89839d48561dfdc5c51e7.zip u-boot-650bf008e57a98cd6fa89839d48561dfdc5c51e7.tar.gz u-boot-650bf008e57a98cd6fa89839d48561dfdc5c51e7.tar.bz2 |
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>
-rw-r--r-- | common/image-fit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/image-fit.c b/common/image-fit.c index 28bd8e7..d6b2c3c 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -1777,7 +1777,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; } |