]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: Check for kwbimage data checksum
authorPali Rohár <pali@kernel.org>
Fri, 14 Jan 2022 13:31:41 +0000 (14:31 +0100)
committerStefan Roese <sr@denx.de>
Thu, 20 Jan 2022 10:35:29 +0000 (11:35 +0100)
commit402e84ee88f27450e0cf055ab58dafc4417b81df
treee020e785a2f17cb9756db4953b5074ce82ff5198
parentc10939d8a11921c2d0bba56e72999dffe36d57bf
arm: mvebu: Check for kwbimage data checksum

Last 4 bytes of kwbimage boot image is checksum. Verify it via the new
spl_check_board_image() function which is called by U-Boot SPL after
loading kwbimage.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/spl.c