]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: fit: support for booting a GZIP-compressed U-boot binary
authorManoj Sai <abbaraju.manojsai@amarulasolutions.com>
Sun, 17 Sep 2023 19:26:25 +0000 (00:56 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 7 Oct 2023 08:49:41 +0000 (16:49 +0800)
commitce6ab56401c6f91c77bdadd3128df94b2e3f046e
treefbb1518ff4d459f0aa7c135f5ef3b090d7e45b59
parent9841fe21197e9cfcbd64ecb257e298b9eec8a385
spl: fit: support for booting a GZIP-compressed U-boot binary

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.manojsai@amarulasolutions.com>
Signed-off-by: Suniel Mahesh <sunil@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/spl/spl_fit.c
include/spl.h