image: Drop IMAGE_ENABLE_SHA1
authorSimon Glass <sjg@chromium.org>
Wed, 14 Jul 2021 22:05:34 +0000 (17:05 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 16 Jul 2021 16:58:55 +0000 (12:58 -0400)
commit0ad75696d078e56ca8e4d09a875de8107590ab8a
treee2b8a261ed30b0d45b20f6d3e8d4b0c613ba0b27
parent4b00fd1a84c1ef15f640da1d7a1081d0dbfbfbfe
image: Drop IMAGE_ENABLE_SHA1

We already have a host Kconfig for SHA1. Use CONFIG_IS_ENABLED(SHA1)
directly in the code shared with the host build, so we can drop the
unnecessary indirection.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
common/image-fit.c
include/image.h