[U-Boot] [RFC/RFT PATCH v3 2/3] image: Add a common compression type detection function.

Tom Rini trini at konsulko.com
Thu Nov 7 22:22:34 UTC 2019


On Wed, Nov 06, 2019 at 02:15:21PM -0800, Atish Patra wrote:

> Currently, there is no method that can detect compression types
> given a file. This is very useful where a compressed kernel image
> is loaded directly to the memory.
> 
> Inspect initial few bytes to figure out compression type of the
> image. It will be used in booti method for now but can be reused
> any other function in future as well.
> 
> Signed-off-by: Atish Patra <atish.patra at wdc.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191107/2e361291/attachment.sig>


More information about the U-Boot mailing list