]> Git Repo - u-boot.git/commit
spl: implement CRC check on U-Boot uImage
authorSimon Goldschmidt <[email protected]>
Sun, 10 Feb 2019 20:34:37 +0000 (21:34 +0100)
committerTom Rini <[email protected]>
Tue, 19 Feb 2019 13:55:43 +0000 (08:55 -0500)
commitdae5c2dcdc2bc826a4ee0a58b08fd004b6259373
treecce328236d6aca49467c14efe6d8e7e06849d5dd
parent8502fe84a4fc1eb5610b1dbb102ff11b02aee25f
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
common/spl/Kconfig
common/spl/spl.c
include/spl.h
This page took 0.033865 seconds and 4 git commands to generate.