Skip to content

Commit 315d2f5

Browse files
nvlsianpurlubos
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 <[email protected]> Signed-off-by: Dominik Ermel <[email protected]> (cherry picked from commit 5da97cf)
1 parent 4a7fca1 commit 315d2f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/zephyr/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ config BOOT_ENCRYPTION_KEY_FILE
623623

624624
config BOOT_MAX_IMG_SECTORS_AUTO
625625
bool "Calculate maximum sectors automatically"
626-
default y
626+
default y if !PARTITION_MANAGER_ENABLED
627627
help
628628
If this option is enabled then the maximum number of supported sectors per image will
629629
be calculated automatically from the flash erase sizes and size of each partition for

0 commit comments

Comments
 (0)