提交 650bf008 编写于 作者: J John Keeping 提交者: Tom Rini

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: NJohn Keeping <john@metanate.com>
Reviewed-by: NSimon Glass <sjg@chromium.org>
上级 7cb31e39
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册