diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2015-05-05 12:23:53 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-05-10 09:59:37 -0400 |
commit | a69bdba9c6275b5673133ad057e2195ab48f3a53 (patch) | |
tree | 4ac3ba8aa645313f7815f10e177df98579cf41dd /configs/mx28evk_auart_console_defconfig | |
parent | 849337bb22ca87355963236f784b7f3e57c0329a (diff) | |
download | u-boot-imx-a69bdba9c6275b5673133ad057e2195ab48f3a53.zip u-boot-imx-a69bdba9c6275b5673133ad057e2195ab48f3a53.tar.gz u-boot-imx-a69bdba9c6275b5673133ad057e2195ab48f3a53.tar.bz2 |
Fix broken verify functionality in crc32 command
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@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/mx28evk_auart_console_defconfig')
0 files changed, 0 insertions, 0 deletions