diff options
| author | Hannu Lounento <[email protected]> | 2021-10-18 08:49:03 +0300 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2021-10-31 12:26:44 -0600 |
| commit | 2289629f27f743003254d0a31ae9ed6175d1dd63 (patch) | |
| tree | 944350cd74c594738ce444a5c1adbc88fe9936d3 /scripts/basic | |
| parent | 50bff6a6f86669a8652e2bf271eeb04f77911274 (diff) | |
image.h: make image_sign_info.fit point to const
The data blob apparently does not need to be modified through the fit
field of the image_sign_info struct so make it point to const to avoid
the need to cast away constness in functions that assign a pointer to
const data to the field.
fit_image_setup_verify already had to cast away constness as it assigned
a const void * argument to the field. The cast can now be removed.
Signed-off-by: Hannu Lounento <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
