Skip to content

Commit

Permalink
sysbuild: images: bootloader: kconfig: Limit encryption
Browse files Browse the repository at this point in the history
Limits selecting the encryption option to MCUboot operating modes
that support it

Signed-off-by: Jamie McCrae <[email protected]>
  • Loading branch information
nordicjm authored and carlescufi committed Oct 23, 2024
1 parent 00c1197 commit 9e1b3bb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion share/sysbuild/images/bootloader/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 9e1b3bb

Please sign in to comment.