diff options
author | Simon Glass <sjg@chromium.org> | 2025-01-10 17:00:14 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-01-22 15:58:04 -0600 |
commit | 1604b4254b1044916414db9f9f5bc12431ce258f (patch) | |
tree | f1d59ce18496dc94cd9bc80a43d3a3c18ddce973 /common/update.c | |
parent | c83e71064e9b85743a79978c79b01a0f2dc1e90b (diff) |
boot: Use fit_image_get_data() to get data
Use this function instead of fit_image_get_emb_data() data, since it
works will FITs that use external data.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/update.c')
-rw-r--r-- | common/update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/update.c b/common/update.c index d149ca18e78..6801b49479d 100644 --- a/common/update.c +++ b/common/update.c @@ -200,7 +200,7 @@ static int update_fit_getparams(const void *fit, int noffset, ulong *addr, { const void *data; - if (fit_image_get_emb_data(fit, noffset, &data, (size_t *)size)) + if (fit_image_get_data(fit, noffset, &data, (size_t *)size)) return 1; if (fit_image_get_load(fit, noffset, (ulong *)fladdr)) |