[RFT PATCH v5 2/3] image: Add a common compression type detection function.

Tom Rini trini at konsulko.com
Tue Apr 21 14:27:10 CEST 2020


On Thu, Mar 05, 2020 at 04:24:22PM -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>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200421/6a48870f/attachment.sig>


More information about the U-Boot mailing list