]> git.dujemihanovic.xyz Git - u-boot.git/commit
splash_source: Verify FIT magic
authorNiko Mauno <niko.mauno@vaisala.com>
Thu, 3 Aug 2017 06:53:24 +0000 (09:53 +0300)
committerAnatolij Gustschin <agust@denx.de>
Mon, 28 Aug 2017 22:20:16 +0000 (00:20 +0200)
commit22aa21dba4085bb8d597eeeeeee9e3328af684bb
tree9cd7f46c9216e1b3194a074052217174b7b8a5ba
parent8b3cec7da18645eda7f7cd0b65ee9f2dac573409
splash_source: Verify FIT magic

Before reading entire FIT image, add sanity check by testing image
header against FDT_MAGIC. This should help avoid problems in situations
where FIT is not yet available from storage device, for example when
performing initial programming of device.

Cc: Anatolij Gustschin <agust@denx.de>
Acked-by: Tomas Melin <tomas.melin@vaisala.com>
common/splash_source.c