diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-05 15:36:42 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-09 16:32:26 -0500 |
commit | 5cbdd15659ac7fad9f1b5c0f48086463a08258d2 (patch) | |
tree | 8f593668afea712374fb8f97a55d08e22199beee /common | |
parent | 04e7493c4af9aa57a0de68637773d88ba4c69ede (diff) |
Correct SPL use of CMD_SHA1SUM
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_CMD_SHA1SUM defined in Kconfig
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hash.c b/common/hash.c index 2ce79b9908..9a52d6073c 100644 --- a/common/hash.c +++ b/common/hash.c @@ -326,7 +326,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) || \ +#if CONFIG_IS_ENABLED(SHA256) || IS_ENABLED(CONFIG_CMD_SHA1SUM) || \ CONFIG_IS_ENABLED(CRC32_VERIFY) || IS_ENABLED(CONFIG_CMD_HASH) || \ CONFIG_IS_ENABLED(SHA384) || CONFIG_IS_ENABLED(SHA512) #define multi_hash() 1 |