From: Marek BehĂșn Date: Fri, 14 Jan 2022 13:31:42 +0000 (+0100) Subject: arm: mvebu: spl: Print srcaddr in error message X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=62ee75a30d1aa0d8526fd2b8834bb28f885f9e94;p=u-boot.git arm: mvebu: spl: Print srcaddr in error message Print the wrong srcaddr (spl_image->offset) in error message also for SATA case. Signed-off-by: Marek BehĂșn Reviewed-by: Stefan Roese --- diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c index 72cc2f92f6..eacac77653 100644 --- a/arch/arm/mach-mvebu/spl.c +++ b/arch/arm/mach-mvebu/spl.c @@ -189,7 +189,8 @@ int spl_parse_board_header(struct spl_image_info *spl_image, */ if (mhdr->blockid == IBR_HDR_SATA_ID) { if (spl_image->offset < 1) { - printf("ERROR: Wrong SATA srcaddr in kwbimage\n"); + printf("ERROR: Wrong srcaddr (0x%08x) in SATA kwbimage\n", + spl_image->offset); return -EINVAL; } spl_image->offset -= 1;