On 2026-07-30T15:03:40, Anton Ivanov <[email protected]> wrote: > image-fit: Use unsigned types for external data properties > > The data-offset, data-position and data-size FIT properties are > stored as 32-bit unsigned values (fdt32_t), but the accessors > fit_image_get_data_offset(), fit_image_get_data_position() and > fit_image_get_data_size() return them through a signed int. > > Switch the accessors and their callers to u32. This removes the > special-processing of "negative" values in fit_image_get_data(). > > Signed-off-by: Anton Ivanov <[email protected]> > > boot/image-fit.c | 29 ++++++++++------------------- > common/spl/spl_fit.c | 4 ++-- > common/splash_source.c | 2 +- > drivers/fpga/socfpga_arria10.c | 3 ++- > include/image.h | 6 +++--- > test/py/tests/test_vboot.py | 6 +----- > 6 files changed, 19 insertions(+), 31 deletions(-)
Reviewed-by: Simon Glass <[email protected]>
