diff mbox series

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

Message ID 20230212231638.1134219-14-sjg@chromium.org
State RFC
Delegated to: Tom Rini
Headers show
Series RFC: Migrate to split config | expand

Commit Message

Simon Glass Feb. 12, 2023, 11:15 p.m. UTC
This is implicitly used in the source and seems useful, so add it.

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

Changes in v3:
- Add a bracket to (SPL

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

Patch

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