[PATCH v3 13/95] boot: Add a Kconfig for SPL_FIT_CIPHER

Simon Glass sjg at chromium.org
Mon Feb 13 00:15:16 CET 2023


This is implicitly used in the source and seems useful, so add it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v3:
- Add a bracket to (SPL

 boot/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/boot/Kconfig b/boot/Kconfig
index 5f491625c82..91bdff6e332 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -103,6 +103,10 @@ config FIT_CIPHER
 	  Enable the feature of data ciphering/unciphering in the tool mkimage
 	  and in the u-boot support of the FIT image.
 
+config SPL_FIT_CIPHER
+	def_bool n  # Enable ciphering data in a FIT uImages (SPL)
+	depends on SPL_DM && SPL_FIT
+
 config FIT_VERBOSE
 	bool "Show verbose messages when FIT images fail"
 	depends on FIT
-- 
2.39.1.581.gbfd45094c4-goog



More information about the U-Boot mailing list