image: Add Kconfig options for FIT in the tools build
authorSimon Glass <sjg@chromium.org>
Sun, 26 Sep 2021 01:43:16 +0000 (19:43 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 8 Oct 2021 19:53:26 +0000 (15:53 -0400)
commite02b3fd4b9cf34c7d22254e8d6db69e2f4471f4f
tree4f14b99025d31663096f9159ae0a55be044fecc8
parent5500a408dd81d5e5718a0fcd98ce55586d125853
image: Add Kconfig options for FIT in the tools build

In preparation for enabling CONFIG_IS_ENABLED() on the host build, add
some options to enable the various FIT options expected in these tools.
This will ensure that the code builds correctly when CONFIG_TOOLS_xxx
is distinct from CONFIG_xxx.

Drop some #ifdefs which are immediately unnecessary (many more are in
later patches).

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