Skip to content

Commit e9131ee

Browse files
committed
zephyr: kconfig: Make saving encrypt TLVs depending on encryption
Prevents enabling the option to save encrypted TLVs if encryption support is not enabled, as it is required to make use of this functionality. Signed-off-by: Jamie McCrae <[email protected]>
1 parent 4c7942e commit e9131ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

boot/zephyr/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ config BOOT_BOOTSTRAP
306306
config BOOT_SWAP_SAVE_ENCTLV
307307
bool "Save encrypted key TLVs instead of plaintext keys in swap metadata"
308308
default n
309+
depends on BOOT_ENCRYPT_IMAGE
309310
help
310311
If y, instead of saving the encrypted image keys in plaintext in the
311312
swap resume metadata, save the encrypted image TLVs. This should be used

0 commit comments

Comments
 (0)