On Mon, 24 Jul 2023 at 21:51, Manoj Sai <abbaraju.manoj...@amarulasolutions.com> wrote: > > If GZIP Compression support is enabled, GZIP compressed U-Boot binary > will be at a specified RAM location which is defined at > CONFIG_SYS_LOAD_ADDR and will be assign it as the source address. > > gunzip function in spl_load_fit_image ,will decompress the GZIP > compressed U-Boot binary which is placed at > source address(CONFIG_SYS_LOAD_ADDR) to the default > CONFIG_SYS_TEXT_BASE location. > > spl_load_fit_image function will load the decompressed U-Boot > binary, which is placed at the CONFIG_SYS_TEXT_BASE location. > > Signed-off-by: Manoj Sai <abbaraju.manoj...@amarulasolutions.com> > Signed-off-by: Suniel Mahesh <su...@amarulasolutions.com> > --- > common/spl/spl_fit.c | 7 +++++-- > include/spl.h | 10 ++++++++++ > 2 files changed, 15 insertions(+), 2 deletions(-) >
Reviewed-by: Simon Glass <s...@chromium.org> We could really use sandbox_spl test cases for these sorts of thing.