Re: [U-Boot] [PATCH RESEND] imx-common: hab: fix return value from hab_auth_img

2016-11-28 Thread Eric Nelson
Hi all, On 11/27/2016 08:27 AM, Eric Nelson wrote: > The authenticate_image routine returns a boolean to indicate > a valid (1) or invalid (0) image. > An off-list discussion highlighted that the expected return value from the authenticate_image() routine isn't obvious since there isn't any

[U-Boot] [PATCH RESEND] imx-common: hab: fix return value from hab_auth_img

2016-11-27 Thread Eric Nelson
The authenticate_image routine returns a boolean to indicate a valid (1) or invalid (0) image. The hab_auth_img should return CMD_RET_SUCCESS to indicate success (a valid image), but currently doesn't. Before this patch, a valid image at addres 0x1200 with an IVT offset of 0x7a8000 will