Skip to content

Commit 8aebcf7

Browse files
nvlsianpufrkv
authored andcommitted
[nrf noup] boot/zephyr/Kconfig: conditionally disable BOOT_MAX_IMG_SECTORS_AUTO
Automatic calculation are based on DTS data which are no the right source on partition layout in case Partition manager does the partitioning. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
1 parent 622b015 commit 8aebcf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/zephyr/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ config BOOT_ENCRYPTION_KEY_FILE
385385

386386
config BOOT_MAX_IMG_SECTORS_AUTO
387387
bool "Calculate maximum sectors automatically"
388-
default y
388+
default y if !PARTITION_MANAGER_ENABLED
389389
help
390390
If this option is enabled then the maximum number of supported sectors per image will
391391
be calculated automatically from the flash erase sizes and size of each partition for

0 commit comments

Comments
 (0)