image: Drop IMAGE_ENABLE_SHAxxx
authorSimon Glass <sjg@chromium.org>
Wed, 14 Jul 2021 22:05:35 +0000 (17:05 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 16 Jul 2021 16:58:55 +0000 (12:58 -0400)
commit14f061dcb158a4ffbf09df10f2ac2d37c157437c
tree2b7569785f88f4715dad5ea83b33a4057800d985
parent0ad75696d078e56ca8e4d09a875de8107590ab8a
image: Drop IMAGE_ENABLE_SHAxxx

We already have a host Kconfig for these SHA options. Use
CONFIG_IS_ENABLED(SHAxxx) directly in the code shared with the host build,
so we can drop the unnecessary indirections.

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