diff options
author | Simon Glass <sjg@chromium.org> | 2025-01-10 17:00:12 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-01-22 15:58:04 -0600 |
commit | dc39ce8d90770a9abf9d464f7d29624361173c78 (patch) | |
tree | a9dfb042c5ccf62ece75a278e49b7662032172b1 /common/splash_source.c | |
parent | 957869414077efa66ca866e9fcced34ec9678a38 (diff) |
boot: Rename fit_image_get_data()
This function can only be used with FITs that use embedded data. Rename
it so this is clear.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'common/splash_source.c')
-rw-r--r-- | common/splash_source.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/splash_source.c b/common/splash_source.c index f43e7cc1be7..5ac32a2f995 100644 --- a/common/splash_source.c +++ b/common/splash_source.c @@ -396,7 +396,9 @@ static int splash_load_fit(struct splash_location *location, u32 bmp_load_addr) /* Extract the splash data from FIT */ /* 1. Test if splash is in FIT internal data. */ - if (!fit_image_get_data(fit_header, node_offset, &internal_splash_data, &internal_splash_size)) + if (!fit_image_get_emb_data(fit_header, node_offset, + &internal_splash_data, + &internal_splash_size)) memmove((void *)(uintptr_t)bmp_load_addr, internal_splash_data, internal_splash_size); /* 2. Test if splash is in FIT external data with fixed position. */ else if (!fit_image_get_data_position(fit_header, node_offset, &external_splash_addr)) |