From: Tom Rini Date: Tue, 19 Feb 2019 20:57:31 -0500 Subject: [U-Boot] [U-Boot,v3] spl: implement CRC check on U-Boot uImage In-Reply-To: <20190210203437.20644-1-simon.k.r.goldschmidt@gmail.com> References: <20190210203437.20644-1-simon.k.r.goldschmidt@gmail.com> Message-ID: <20190220015731.GM21737@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 Sun, Feb 10, 2019 at 09:34:37PM +0100, Simon Goldschmidt wrote: > SPL currently does not check uImage CRCs when loading U-Boot. > > This patch adds checking the uImage CRC when SPL loads U-Boot. It does > this by reusing the existing config option SPL_CRC32_SUPPORT to allow > leaving out the CRC check on boards where the additional code size or > boot time is a problem (adding the CRC check currently adds ~1.4 kByte > to flash). > > The SPL_CRC32_SUPPORT config option now gets enabled by default if SPL > support for legacy images is enabled to check the CRC on all boards > that don't actively take countermeasures. > > Signed-off-by: Simon Goldschmidt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: