summaryrefslogtreecommitdiff
path: root/tools/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-09-26 04:43:16 +0300
committerTom Rini <trini@konsulko.com>2021-10-08 22:53:26 +0300
commite02b3fd4b9cf34c7d22254e8d6db69e2f4471f4f (patch)
tree4f14b99025d31663096f9159ae0a55be044fecc8 /tools/Kconfig
parent5500a408dd81d5e5718a0fcd98ce55586d125853 (diff)
downloadu-boot-e02b3fd4b9cf34c7d22254e8d6db69e2f4471f4f.tar.xz
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>
Diffstat (limited to 'tools/Kconfig')
-rw-r--r--tools/Kconfig25
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/Kconfig b/tools/Kconfig
index d6f82cd949..ea986ab047 100644
--- a/tools/Kconfig
+++ b/tools/Kconfig
@@ -20,4 +20,29 @@ config TOOLS_LIBCRYPTO
This selection does not affect target features, such as runtime FIT
signature verification.
+config TOOLS_FIT
+ def_bool y
+ help
+ Enable FIT support in the tools builds.
+
+config TOOLS_FIT_FULL_CHECK
+ def_bool y
+ help
+ Do a full check of the FIT before using it in the tools builds
+
+config TOOLS_FIT_PRINT
+ def_bool y
+ help
+ Print the content of the FIT verbosely in the tools builds
+
+config TOOLS_FIT_SIGNATURE
+ def_bool y
+ help
+ Enable signature verification of FIT uImages in the tools builds
+
+config TOOLS_FIT_SIGNATURE_MAX_SIZE
+ hex
+ depends on TOOLS_FIT_SIGNATURE
+ default 0x10000000
+
endmenu