Re: [PATCH u-boot-marvell 5/5] arm: mvebu: Check for kwbimage data checksum

2021-11-15 Thread Stefan Roese
On 11/11/21 16:59, Marek Behún wrote: From: Pali Rohár 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 Signed-off-by: Marek Behún --- arch/arm/mach-mvebu/

[PATCH u-boot-marvell 5/5] arm: mvebu: Check for kwbimage data checksum

2021-11-11 Thread Marek Behún
From: Pali Rohár 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 Signed-off-by: Marek Behún --- arch/arm/mach-mvebu/spl.c | 28