[U-Boot] [PATCH 2/2] Fix broken verify functionality in crc32 command
Simon Glass
sjg at chromium.org
Tue May 5 23:29:57 CEST 2015
On 5 May 2015 at 11:23, Joe Hershberger <joe.hershberger at ni.com> wrote:
> Introduced in change d20a40de9db07de1f1f06a79a4da1cdda5379b75
> "Roll crc32 into hash infrastructure"
>
> The crc32 command with no -v expects an optional 3rd argument to be an
> address to store the result in. With the -v switch, the last argument
> is a crc, not an address. In the case where -v is set, we should set the
> HASH_FLAG_ENV flag since that will first look for the value to be a
> digest value, which matches the expected API for the crc32 command.
>
> Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
> ---
>
> common/cmd_mem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list