Simon Goldschmidt dae5c2dcdc spl: implement CRC check on U-Boot uImage
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 <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2019-02-19 08:55:43 -05:00
..
2019-02-09 07:50:58 -05:00
2018-09-10 20:20:34 -04:00
2018-12-03 10:44:10 -05:00
2019-01-01 14:12:18 +01:00
2019-02-09 12:50:21 -07:00
2016-02-06 12:00:59 +01:00
2016-05-02 18:37:09 -04:00
2018-12-06 23:26:30 -05:00
2018-06-05 20:19:08 -04:00
2017-08-16 08:30:24 -04:00