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 /include/image.h | |
| 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 'include/image.h')
| -rw-r--r-- | include/image.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/image.h b/include/image.h index ab96510f62c..e54e2190af5 100644 --- a/include/image.h +++ b/include/image.h @@ -1160,8 +1160,8 @@ int fit_image_get_type(const void *fit, int noffset, uint8_t *type); int fit_image_get_comp(const void *fit, int noffset, uint8_t *comp); int fit_image_get_load(const void *fit, int noffset, ulong *load); int fit_image_get_entry(const void *fit, int noffset, ulong *entry); -int fit_image_get_data(const void *fit, int noffset, - const void **data, size_t *size); +int fit_image_get_emb_data(const void *fit, int noffset, const void **data, + size_t *size); int fit_image_get_data_offset(const void *fit, int noffset, int *data_offset); int fit_image_get_data_position(const void *fit, int noffset, int *data_position); |
