diff options
| author | Simon Glass <[email protected]> | 2025-01-10 17:00:12 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-01-22 15:58:04 -0600 |
| commit | dc39ce8d90770a9abf9d464f7d29624361173c78 (patch) | |
| tree | a9dfb042c5ccf62ece75a278e49b7662032172b1 /tools | |
| 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 <[email protected]>
Acked-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/image-host.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/image-host.c b/tools/image-host.c index 5e01b853c50..007a94f72d5 100644 --- a/tools/image-host.c +++ b/tools/image-host.c @@ -574,7 +574,7 @@ int fit_image_cipher_data(const char *keydir, void *keydest, } /* Get image data and data length */ - if (fit_image_get_data(fit, image_noffset, &data, &size)) { + if (fit_image_get_emb_data(fit, image_noffset, &data, &size)) { fprintf(stderr, "Can't get image data/size\n"); return -1; } @@ -654,7 +654,7 @@ int fit_image_add_verification_data(const char *keydir, const char *keyfile, int noffset; /* Get image data and data length */ - if (fit_image_get_data(fit, image_noffset, &data, &size)) { + if (fit_image_get_emb_data(fit, image_noffset, &data, &size)) { fprintf(stderr, "Can't get image data/size\n"); return -1; } |
