summaryrefslogtreecommitdiff
path: root/common/hash.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-06 01:36:32 +0300
committerTom Rini <trini@konsulko.com>2023-02-10 00:32:25 +0300
commitbdb133ade217085574b04b6d5a841a98801f6578 (patch)
tree5ac18b972f08521ee9eeb354aad768ae3cdca1f5 /common/hash.c
parentf8daba4486f5407417ade0c546e3030230d9a773 (diff)
downloadu-boot-bdb133ade217085574b04b6d5a841a98801f6578.tar.xz
Correct SPL use of CMD_HASH
This converts 1 usage of this option to the non-SPL form, since there is no SPL_CMD_HASH defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/hash.c')
-rw-r--r--common/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hash.c b/common/hash.c
index 9e53545dbd..2ce79b9908 100644
--- a/common/hash.c
+++ b/common/hash.c
@@ -327,7 +327,7 @@ static struct hash_algo hash_algo[] = {
/* Try to minimize code size for boards that don't want much hashing */
#if CONFIG_IS_ENABLED(SHA256) || CONFIG_IS_ENABLED(CMD_SHA1SUM) || \
- CONFIG_IS_ENABLED(CRC32_VERIFY) || CONFIG_IS_ENABLED(CMD_HASH) || \
+ CONFIG_IS_ENABLED(CRC32_VERIFY) || IS_ENABLED(CONFIG_CMD_HASH) || \
CONFIG_IS_ENABLED(SHA384) || CONFIG_IS_ENABLED(SHA512)
#define multi_hash() 1
#else