[PATCH u-boot 3/3] tools: imagetool: Skip autodetection of gpimage type

Tom Rini trini at konsulko.com
Tue Feb 7 17:53:15 CET 2023


On Sun, Jan 29, 2023 at 05:45:55PM +0100, Pali Rohár wrote:

> gpimage type requires only that two first 32-bit words of data file are
> non-zero. So basically every random data file can be guessed and verified
> as gpimage. So completely skip gpimage type from image autodetection code
> to prevent lot of false positive results. Data file with gpimage type can
> be still verified and parsed by explicitly specifying -T gpimage.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>

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/20230207/d903a46f/attachment.sig>


More information about the U-Boot mailing list