Skip to content

Commit b94c842

Browse files
nordicjmnvlsianpu
authored andcommitted
[nrf noup] zephyr: Add support for ARM thumb filter
Adds support to the compressed image update for allowing encrypted images. Also removes the limit of having 1 updateable image Signed-off-by: Jamie McCrae <[email protected]> Signed-off-by: Dominik Ermel <[email protected]> (cherry picked from commit 390c468) (cherry picked from commit cbb7da0) (cherry picked from commit 148712e)
1 parent 4399de2 commit b94c842

File tree

3 files changed

+365
-79
lines changed

3 files changed

+365
-79
lines changed

boot/bootutil/src/loader.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1612,7 +1612,7 @@ boot_copy_region(struct boot_loader_state *state,
16121612
#else
16131613
(void)state;
16141614
#endif
1615-
#ifdef MCUBOOT_DECOMPRESS_IMAGES
1615+
#if defined(MCUBOOT_DECOMPRESS_IMAGES) && !defined(MCUBOOT_ENC_IMAGES)
16161616
struct image_header *hdr;
16171617
#endif
16181618

boot/zephyr/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -966,8 +966,7 @@ config BOOT_BANNER_STRING
966966
config BOOT_DECOMPRESSION_SUPPORT
967967
bool
968968
depends on NRF_COMPRESS && NRF_COMPRESS_DECOMPRESSION && (NRF_COMPRESS_LZMA_VERSION_LZMA1 || NRF_COMPRESS_LZMA_VERSION_LZMA2)
969-
depends on !SINGLE_APPLICATION_SLOT && !BOOT_ENCRYPT_IMAGE && BOOT_UPGRADE_ONLY
970-
depends on UPDATEABLE_IMAGE_NUMBER = 1
969+
depends on !SINGLE_APPLICATION_SLOT && BOOT_UPGRADE_ONLY
971970
default y
972971
help
973972
Hidden symbol which should be selected if a system provided decompression support.

0 commit comments

Comments
 (0)