Commit 9e1b3bbb authored by Jamie McCrae's avatar Jamie McCrae Committed by Carles Cufi
Browse files

sysbuild: images: bootloader: kconfig: Limit encryption

Limits selecting the encryption option to MCUboot operating modes
that support it

Signed-off-by: default avatarJamie McCrae <jamie.mccrae@nordicsemi.no>
parent 00c11977
Loading
Loading
Loading
Loading
+5 −1
Changes for share/sysbuild/images/bootloader/Kconfig: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -148,9 +148,13 @@ config BOOT_SIGNATURE_KEY_FILE
	help
	  Absolute path to signing key file to use with MCUBoot.

config SUPPORT_BOOT_ENCRYPTION
	bool
	depends on !BOOT_SIGNATURE_TYPE_NONE && !MCUBOOT_MODE_DIRECT_XIP && !MCUBOOT_MODE_DIRECT_XIP_WITH_REVERT && !MCUBOOT_MODE_FIRMWARE_UPDATER

config BOOT_ENCRYPTION
	bool "Encrypted image support"
	depends on !BOOT_SIGNATURE_TYPE_NONE
	depends on SUPPORT_BOOT_ENCRYPTION
	help
	  Support encrypted images.