aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>2019-02-10 21:34:37 +0100
committerTom Rini <trini@konsulko.com>2019-02-19 08:55:43 -0500
commitdae5c2dcdc2bc826a4ee0a58b08fd004b6259373 (patch)
treecce328236d6aca49467c14efe6d8e7e06849d5dd /fs
parent8502fe84a4fc1eb5610b1dbb102ff11b02aee25f (diff)
downloadu-boot-dae5c2dcdc2bc826a4ee0a58b08fd004b6259373.zip
u-boot-dae5c2dcdc2bc826a4ee0a58b08fd004b6259373.tar.gz
u-boot-dae5c2dcdc2bc826a4ee0a58b08fd004b6259373.tar.bz2
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions