summaryrefslogtreecommitdiff
path: root/include/hash.h
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2017-05-19 16:26:58 (GMT)
committerTom Rini <trini@konsulko.com>2017-05-31 23:38:14 (GMT)
commit221a949eb6cf9077abc1e7ee28331987042b9b08 (patch)
tree09e8deca47308000f57f556d51f4faa459ba8ff3 /include/hash.h
parentccbbada0a59fead35495409d0c2c7bcb22a40278 (diff)
downloadu-boot-fsl-qoriq-221a949eb6cf9077abc1e7ee28331987042b9b08.tar.xz
Kconfig: Finish migration of hashing commands
Currently these (board agnostic) commands cannot be selected using menuconfig and friends. Fix this the obvious way. As part of this, don't muddle the meaning of CONFIG_HASH_VERIFY to mean both 'hash -v' and "we have a hashing command" as this makes the Kconfig logic odd. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> [trini: Re-apply, add imply for a few cases, run moveconfig.py, also migrate CRC32_VERIFY] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/hash.h')
-rw-r--r--include/hash.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/hash.h b/include/hash.h
index d814337..4f9a8cf 100644
--- a/include/hash.h
+++ b/include/hash.h
@@ -17,10 +17,6 @@ enum {
HASH_FLAG_ENV = 1 << 1, /* Allow env vars */
};
-#if defined(CONFIG_SHA1SUM_VERIFY) || defined(CONFIG_CRC32_VERIFY)
-#define CONFIG_HASH_VERIFY
-#endif
-
struct hash_algo {
const char *name; /* Name of algorithm */
int digest_size; /* Length of digest */