Fix hash verification
authorNikolay Dimitrov <picmaster@mail.bg>
Fri, 12 Dec 2014 18:01:23 +0000 (20:01 +0200)
committerTom Rini <trini@ti.com>
Mon, 29 Dec 2014 21:31:24 +0000 (16:31 -0500)
commit3ef46a998a2f2c52e227246ac0438ca048ddfd09
treeaed0170b1d6c5148a5815566133739f97a91f1cc
parentd210718d9a184c5b00b7ee729e746ff8be5570bb
Fix hash verification

Fix issue in parse_verify_sum() which swaps handling of env-var and *address.
Move hash_command() argc check earlier.
Cosmetic change on do_hash() variable declaration.
Improved help message for "hash" command.

Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/cmd_hash.c
common/hash.c