]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: ymodem: Add support for loading gzip compressed uImage
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 7 Jan 2019 20:23:22 +0000 (21:23 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Jan 2019 20:28:45 +0000 (15:28 -0500)
commit92e5cb804ae69a6e58ba49f6ca2e57934e541d88
tree3167abc88e64c831d9b3217063fd652748bbc941
parent7d05d3a8e35f888ec3f90f66fe53a7c381c06d10
spl: ymodem: Add support for loading gzip compressed uImage

Add support for gunzip-ing gzip-compressed uImages in the SPL Ymodem code.
Loading data over Ymodem can be gruelingly slow, gzip-ing the data can
reduce that aggravating slowness at least slightly (depends on the data,
u-boot.bin compresses to ~1/3 of it's original size on ARM64), hence add
optional support for decompressing gzip-compressed uImages.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Tom Rini <trini@konsulko.com>
common/spl/spl_ymodem.c