From: Tom Rini Date: Tue, 21 Apr 2020 08:27:10 -0400 Subject: [RFT PATCH v5 2/3] image: Add a common compression type detection function. In-Reply-To: <20200306002423.3954-3-atish.patra@wdc.com> References: <20200306002423.3954-1-atish.patra@wdc.com> <20200306002423.3954-3-atish.patra@wdc.com> Message-ID: <20200421122710.GI4555@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Tom Rini 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: